Skip to content

Commit 74815a0

Browse files
authored
Merge pull request #45 from Oefenweb/2.x
Fix typo
2 parents 54fe257 + e978db8 commit 74815a0

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
@@ -274,7 +274,7 @@ public function runworker() {
274274
));
275275
}
276276

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

0 commit comments

Comments
 (0)