Class: Merb::BootLoader::BackgroundServices

Inherits:
Merb::BootLoader show all
Defined in:
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

.runObject

Start background services, such as the run_later worker thread.

Returns

nil

:api: plugin



1354
1355
1356
1357
# File 'lib/merb-core/bootloader.rb', line 1354

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