Skip to content

Commit 71ad990

Browse files
committed
Disable GC on exit
1 parent 3de1010 commit 71ad990

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Console/Command/QueueShell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function runworker() {
273273
));
274274
}
275275

276-
if ($this->__exit || rand(0, 100) > (100 - Configure::read('Queue.gcprop'))) {
276+
if (rand(0, 100) > (100 - Configure::read('Queue.gcprop'))) {
277277
$this->out(__d('queue', 'Performing old job cleanup.'));
278278
$this->QueuedTask->cleanOldJobs($this->_getTaskConf());
279279
}

0 commit comments

Comments
 (0)