Module: FileDaemon
- Included in:
- Restforce::DB::Worker
- Defined in:
- lib/file_daemon.rb
Overview
FileDaemon defines some standard hooks for forking processes which retain file descriptors. Implementation derived from the Delayed::Job library: github.com/collectiveidea/delayed_job/blob/master/lib/delayed/worker.rb#L77-L98.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Public: Extend the including class with before/after_fork hooks.
Class Method Details
.included(base) ⇒ Object
Public: Extend the including class with before/after_fork hooks.
base - The including class.
Returns nothing.
11 12 13 |
# File 'lib/file_daemon.rb', line 11 def self.included(base) base.extend(ClassMethods) end |