Add BackgroundQueueHandler::enqueueIn() and rename enqueue() to enqueueAt()
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 17 Jun 2015 19:53:09 +0000 (21:53 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 21 Jun 2015 12:59:26 +0000 (14:59 +0200)
commitfc332b275c4a0b216f9918d108e8e16d054815be
tree5707e339200b156ca99ae4c58e96900c3ae9e6d2
parent3ea5d8d7f1a82e890216c81fd1107acc01488c74
Add BackgroundQueueHandler::enqueueIn() and rename enqueue() to enqueueAt()

This also disallows scheduling jobs for execution in the past to prevent
starving of jobs with a non-immediate execution (previous default parameter
of zero).
wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php
wcfsetup/install/files/lib/system/cronjob/BackgroundQueueCleanUpCronjob.class.php