awjrichards
c29fd59775
Big oops - merged to wrong branch.
...
Revert "Revert to arbitrarily old point before initial remote branch creation to help clean up"
This reverts commit ee0d3d330f
2012-06-05 22:58:54 +00:00
awjrichards
ee0d3d330f
Revert to arbitrarily old point before initial remote branch creation to help clean up
...
Change-Id: I41a3d1e55d3ea9dffa42451237fe065f9334361d
2012-06-02 08:43:04 -07:00
Antoine Musso
58f390e9bf
missing $dbr instance in JobQueue
...
This comes from factoring done with commit fb69ee4 . To add quotes based
on the database type, we actually need a Database instance!
Fault introduced by https://gerrit.wikimedia.org/r/9116
Change-Id: I7a4f7fb1a744cd7adb5166e66424b664edb3d9e8
2012-05-30 21:17:30 +02:00
Aaron Schulz
5097ada351
Merge "(bug 37072) - prevents infinite job loop"
2012-05-29 20:19:58 +00:00
Aaron Schulz
90108d8c93
Merge "wfProfileOut() for new return added in c6396 ( c4e407c)"
2012-05-29 18:08:25 +00:00
Platonides
2c15039e4d
wfProfileOut() for new return added in c6396 ( c4e407c)
...
Change-Id: I9fed0ba277fb32df65a772c8c4de123e2867b4c5
2012-05-29 19:34:43 +02:00
Antoine Musso
fb69ee48d3
(bug 37072) - prevents infinite job loop
...
nextJob.php does not honor jobs types being excluded from the default
job queue by using $wgJobTypesExcludedFromDefaultQueue. Since those jobs
can never get processed, nextJob.php will always return a database which
might produce a nasty infinite loop while trying to process the whole
queue.
Job::pop did take in account wgJobTypesExcludedFromDefaultQueue to
filter the jobs out. So this patch factor out the code in a new method
and uses it for nextJob.php.
Change-Id: I15197ffcca00f229c9004e2abd87e009bc40f384
2012-05-29 13:50:44 +02:00
Alexandre Emsenhuber
aad9d5fd6b
Removed checks for the "MEDIAWIKI" constant on files that only define classes.
...
This checks are not needed in that case.
Change-Id: Ia83447427de8b7ea32aced8ff43c7a252b8d504c
2012-05-23 21:20:42 +02:00
Aaron Schulz
ec299eabb6
Merge "add type check and bail out when title could not be created"
2012-05-07 23:03:03 +00:00
Alexandre Emsenhuber
63176b99b7
Added missing GPLv2 headers in some places.
...
Also made file/class documentation more consistent.
Change-Id: I1deb70318d01a257b51948ba806d80cd1a239f4f
2012-05-04 08:47:07 +02:00
jeroendedauw
c4e407cf6c
add type check and bail out when title could not be created
...
Change-Id: I5d931892d8f8f70a3dc13d0ed73413de47d43f53
2012-05-02 17:04:55 +02:00
Sam Reed
c47f83a4d4
More __METHOD__ in our madness
2012-02-24 18:45:24 +00:00
Sam Reed
0bab706cdf
Fix non reverted job_insert_timestamp
...
Fixup timestamp addition per Roan
Ping r107886
2012-01-03 15:14:35 +00:00
Sam Reed
faca3cb2e7
* (bug 27724) Add timestamp to job queue.
...
Designed for administration purposes, not to be exposed to front end users
Useful for administration purposes (like WMF with job runners), we can look at the "highest" jobs, and find out whether enwiki is just busy, or the jobs have been there a while (signalling that the job runners potentially have issues)
2012-01-03 15:08:05 +00:00
Sam Reed
4622da783c
More documentation!
2011-10-26 04:15:09 +00:00
Tim Starling
1bbfb2a313
Non-concurrent pop_type() since the $row === false case was being hit 99% of the time on WMF in a backlog situation.
2011-07-12 08:08:58 +00:00
Aaron Schulz
fc3a285e66
* Follow-up r84397: make sure that mysql uses the job_id index even with the job_cmd clause
...
* Removed redundant 'LIMIT' option, already added by using selectRow()
2011-06-30 20:32:41 +00:00
Sam Reed
296f3d3f4f
And even more documentation
2011-05-28 18:59:42 +00:00
Roan Kattouw
45f9da8ad7
(bug 27336) Add $wgJobTypesExcludedFromDefaultQueue for job types that aren't supposed to be run by 'normal' job runners. Modified patch by Michael Dale
2011-03-20 16:52:57 +00:00
Aaron Schulz
da6d61f8b0
* Fixed wfIncrStats calls from r83617 (I assume this wants the # of jobs added)
...
* Follow up r83494, r74737: allow for proper db rollback of a user renames (addresses code comments added in r74737)
2011-03-18 07:06:18 +00:00
Tim Starling
005f53fe15
Fix duplicate removal. Was completely broken, with a "job_id IS NULL" condition in the delete query. Added a COMMIT to pop_type().
2011-03-10 11:39:23 +00:00
Tim Starling
e20d18cbf3
Stats for duplicate removal
2011-03-10 02:27:15 +00:00
Tim Starling
24bf07cc86
* Add a $count argument to wfIncrStats(), to allow it to increase the count by more than one at a time.
...
* Added stats to job insert and pop.
* Formalised live patch for UDP stats aggregation, adding $wgAggregateStatsID.
2011-03-10 00:00:34 +00:00
Sam Reed
f123c151c3
Commit some uncommited documentation from my w/c
2011-02-28 16:37:34 +00:00
Sam Reed
4530507815
More function documentation
2011-02-19 21:56:54 +00:00
Sam Reed
6b3b915353
Big attack on unused variables...
2010-10-14 20:53:04 +00:00
Alexandre Emsenhuber
7e4af9cf7f
added file description header
2010-09-03 18:24:42 +00:00
Max Semenik
28dd709f13
Removed commented-out deprecated function
2010-07-09 13:45:09 +00:00
Mark A. Hershberger
e5cc87957f
Move jobqueue classes to their own directory.
2010-05-14 16:23:26 +00:00