Sfoglia il codice sorgente

mq exit add queue name

visuddhinanda 1 anno fa
parent
commit
1a4616a900
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
                         }
                         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());
                         }
                     }