Commit 819c0df7 authored by DM42.Net Zap Dev's avatar DM42.Net Zap Dev Committed by Mario

Fix duplicate work not filtered out


(cherry picked from commit 38e7e9b1)
parent 84363550
......@@ -252,7 +252,7 @@ class QueueWorkerUtils {
$workinfo = ['argc'=>$argc,'argv'=>$argv];
$r = q("select * from workerq where workerq_data = '%s'",
dbesc(self::maybejson($workerinfo)));
dbesc(self::maybejson($workinfo)));
if ($r) {
logger("Ignoring duplicate workerq task",LOGGER_DEBUG);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment