forkad från GNUsocial/gnu-social
update dbqueuemanager to respect handler timeout values
This commit is contained in:
förälder
84fb846939
incheckning
de987a9e63
@ -55,7 +55,8 @@ class DBQueueManager extends QueueManager
|
||||
{
|
||||
while (true) {
|
||||
$this->_log(LOG_DEBUG, 'Checking for notices...');
|
||||
$notice = $this->_nextItem($queue, null);
|
||||
$timeout = $handler->timeout();
|
||||
$notice = $this->_nextItem($queue, $timeout);
|
||||
if (empty($notice)) {
|
||||
$this->_log(LOG_DEBUG, 'No notices waiting; idling.');
|
||||
// Nothing in the queue. Do you
|
||||
|
Laddar…
x
Referens i nytt ärende
Block a user