Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/395847 )

Change subject: Change EnqueueJob docs to discourage obsolete use-cases
......................................................................

Change EnqueueJob docs to discourage obsolete use-cases

Bug: T181216
Change-Id: I9332d26ae9a74c3721cff9c497d5356f05efb428
---
M includes/jobqueue/jobs/EnqueueJob.php
1 file changed, 4 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/47/395847/1

diff --git a/includes/jobqueue/jobs/EnqueueJob.php 
b/includes/jobqueue/jobs/EnqueueJob.php
index 5ffb01b..e1a9491 100644
--- a/includes/jobqueue/jobs/EnqueueJob.php
+++ b/includes/jobqueue/jobs/EnqueueJob.php
@@ -24,11 +24,10 @@
 /**
  * Router job that takes jobs and enqueues them to their proper queues
  *
- * This can be used for several things:
- *   - a) Making multi-job enqueues more robust by atomically enqueueing
- *        a single job that pushes the actual jobs (with retry logic)
- *   - b) Masking the latency of pushing jobs to different queues/wikis
- *   - c) Low-latency enqueues to push jobs from warm to hot datacenters
+ * This can be used for getting sets of multiple jobs or sets of jobs intended 
for multiple
+ * queues to be inserted more robustly. This is a single job that, upon 
running, enqueues the
+ * wrapped jobs. If some of those fail to enqueue then the EnqueueJob will be 
retried. Due to
+ * the possibility of deplicate enqueues, the wrapped jobs should be 
idempotent.
  *
  * @ingroup JobQueue
  * @since 1.25

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9332d26ae9a74c3721cff9c497d5356f05efb428
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to