Method: Updater::ORM::ClassMethods#future
- Defined in:
- lib/updater/orm/orm.rb
#future(start, finish) ⇒ Object
Returns a count of how may jobs are curently scheduled between start and finish seconds from now. e.g future(0,60) would tell you how many jobs will run in the next minute. This function is used to adjust the number of workers needed as well as for monitering.
180 181 182 |
# File 'lib/updater/orm/orm.rb', line 180 def future(start, finish) NotImplementedError end |