Tim Starling has submitted this change and it was merged.

Change subject: [JobQueue] Added support for retrying jobs when runners die.
......................................................................


[JobQueue] Added support for retrying jobs when runners die.

* This adds a new 'claimTTL' setting which recycles jobs into the queue
  if they have been claimed for longer than that duration (in seconds).
* This also purges jobs for such cases when job retries are not enabled.
* This adds a new job_attempts column and adds an index to improve the
  query and semantics for FIFO ordered queues.

Change-Id: Idb6217a694d86a4d6fc881768deed424628f015d
---
M includes/installer/MysqlUpdater.php
M includes/installer/SqliteUpdater.php
M includes/job/JobQueue.php
M includes/job/JobQueueDB.php
A maintenance/archives/patch-job_attempts.sql
M maintenance/tables.sql
6 files changed, 98 insertions(+), 34 deletions(-)

Approvals:
  Tim Starling: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/29736
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idb6217a694d86a4d6fc881768deed424628f015d
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Asher <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-Reviewer: preilly <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to