Class: Merb::BootLoader::BackgroundServices

Inherits:
Merb::BootLoader show all
Defined in:
merb-core/lib/merb-core/bootloader.rb

Class Method Summary collapse

Methods inherited from Merb::BootLoader

after, after_app_loads, before, before_app_loads, before_master_shutdown, before_worker_shutdown, default_framework, finished?, inherited, move_klass

Class Method Details

.runnil

Start background services, such as the run_later worker thread.

Returns:

  • (nil)


1273
1274
1275
1276
# File 'merb-core/lib/merb-core/bootloader.rb', line 1273

def self.run
  Merb::Worker.start unless Merb.testing? || Merb::Worker.started?
  nil
end