Pārlūkot izejas kodu

mq exit add queue name

visuddhinanda 1 gadu atpakaļ
vecāks
revīzija
1a4616a900
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      api-v8/app/Http/Api/Mq.php

+ 1 - 1
api-v8/app/Http/Api/Mq.php

@@ -174,7 +174,7 @@ class Mq
                             $GLOBALS[$key] = 1;
                             $GLOBALS[$key] = 1;
                         }
                         }
                         if ($GLOBALS[$key] >= $value) {
                         if ($GLOBALS[$key] >= $value) {
-                            Log::debug('mq exit loop=' . $GLOBALS[$key]);
+                            Log::debug("mq exit queue={$queue} loop=" . $GLOBALS[$key]);
                             $message->getChannel()->basic_cancel($message->getConsumerTag());
                             $message->getChannel()->basic_cancel($message->getConsumerTag());
                         }
                         }
                     }
                     }