nextcloud/lib/private/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
..
legacy Catch the AutoloadNotAllowedException also for legacy jobs (#23901) 2016-04-11 14:06:11 +02: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 Happy new year! 2016-01-12 15:02:18 +01:00
timedjob.php Happy new year! 2016-01-12 15:02:18 +01:00