nextcloud/tests/lib/backgroundjob
Joas Schilling 04cee6a7db
Change the sort order of background jobs to be DESC instead of ASC
In theory, if your instance ever creates more jobs then your system cron can
handle, the default background jobs get never executed anymore. Because
everytime when the joblist returns the next job it looks for the next ID,
however there is always a new next ID, so it will never wrap back to execute
the low IDs. But when we change the sort order to be DESC, we make sure that
these low IDs are always executed, before the system jumps back up to
execute the new IDs.
2016-04-22 10:49:55 +02:00
..
dummyjoblist.php Add async command system to handle asynchronous operations 2015-02-25 15:08:40 +01:00
job.php Add message key to context of logException 2016-01-15 14:55:30 +01:00
joblist.php Change the sort order of background jobs to be DESC instead of ASC 2016-04-22 10:49:55 +02:00
queuedjob.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
testjob.php Add unit tests for JobList 2014-02-12 13:52:13 +01:00
timedjob.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00