Make JobQueueAggregator::doNotifyQueueNonEmpty() avoid queries
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 11 Nov 2015 21:50:35 +0000 (13:50 -0800)
committerReedy <reedy@wikimedia.org>
Sun, 15 Nov 2015 20:16:31 +0000 (20:16 +0000)
commit08ec4d97fbf9aaa244bdfef53d7f700ad436a364
tree5fba8040fc8071d0a5eec9b25722206f1a754d9f
parentda6afd88999c129aca43c40100390f07d00f4f84
Make JobQueueAggregator::doNotifyQueueNonEmpty() avoid queries

Avoid 2 of the 3 queries in doNotifyQueueNonEmpty(), the ones
that register the queue, once such a command has been done in
the request already.

Change-Id: I58553f0c56660f05a3e3000065270baebb8cbb62
includes/jobqueue/aggregator/JobQueueAggregatorRedis.php