Commit graph

7 commits

Author SHA1 Message Date
Nik Everett
95bfc8b956 Work around hhvm bug in redis job queue
The hhvm redis client returns false instead of null.  This caused
JobQueueRedis to get stuck in an infinite loop.  This works around the
difference by catching null as a signal for no more jobs.

It can be reverted when https://github.com/facebook/hhvm/pull/3127/ is
in all versions of hhvm we expect to run MediaWiki.

Bug: 67622
Change-Id: I9bbad42f36a80635097b8e0140b48b6492b2f0f5
2014-07-07 18:12:12 -04:00
Aaron Schulz
be6d82201e Added job-undelay stat calls to the Redis queue class
Change-Id: I28f979ff6b95e09af832f8daaa6bd7bb15c2cb6b
2014-07-06 18:21:00 +00:00
Thiemo Mättig
e292bc972d Finish removing boolean return values from JobQueue code
This is a follow-up for patch
Ia706ac0122a7dd7f418e2dc2d3bd36e9a0252c25.

Change-Id: I19fe58a939706d3f7594d937e0bcad6d97c52a50
2014-04-28 22:21:58 +02:00
Aaron Schulz
bab822755f Removed maximumPeriodicTaskSeconds hack; now unused
Change-Id: Ib4308990c21b0118f00fde72412868993c5ce056
2014-04-25 14:58:45 -07:00
umherirrender
dcf6955e5c Fixed some @params documentation (includes/*)
Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.

Change-Id: Ifbb1da2a6278b0bde2a6f6ce2e7bd383ee3fb28a
2014-04-20 23:33:05 +02:00
Aaron Schulz
340220080e Added per-wiki queue stats information
Change-Id: I25f42408c9a7a368aa99f4ceb04214f188a74be6
2014-04-03 21:42:10 +00:00
Aaron Schulz
9ffd4f085d Renamed /job to /jobqueue
Change-Id: I4c8a2b42140630838867c77a70d45ba14b5d95e2
2014-03-14 13:42:04 -07:00
Renamed from includes/job/JobQueueRedis.php (Browse further)