Class: Workerholic::Starter
- Inherits:
-
Object
- Object
- Workerholic::Starter
- Defined in:
- lib/workerholic/starter.rb
Class Method Summary collapse
Class Method Details
.kill_memory_tracker_thread ⇒ Object
14 15 16 17 |
# File 'lib/workerholic/starter.rb', line 14 def self.kill_memory_tracker_thread @thread.kill StatsStorage.delete_memory_stats end |
.options=(opts = {}) ⇒ Object
3 4 5 |
# File 'lib/workerholic/starter.rb', line 3 def self.(opts={}) @options = opts end |
.start ⇒ Object
7 8 9 10 11 12 |
# File 'lib/workerholic/starter.rb', line 7 def self.start load_app track_memory_usage_and_expire_job_stats launch end |