Build worker should delete jobs in its queue that are not recognised.
This commit is contained in:
parent
06e3235960
commit
2380d2e472
|
@ -109,7 +109,7 @@ class BuildWorker
|
||||||
|
|
||||||
if (!array_key_exists('type', $jobData) || $jobData['type'] !== 'phpci.build') {
|
if (!array_key_exists('type', $jobData) || $jobData['type'] !== 'phpci.build') {
|
||||||
// Probably not from PHPCI.
|
// Probably not from PHPCI.
|
||||||
$pheanstalk->release($job);
|
$pheanstalk->delete($job);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue