rabin преди 2 дни
родител
ревизия
920e7b116c
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/dai/seller/app/Lib/Get.php

+ 1 - 0
src/dai/seller/app/Lib/Get.php

@@ -33,6 +33,7 @@ class Get
                     $this->consumeNewMessages($workerId);
                 } catch (\Throwable $e) {
                     echo "Worker#$workerId 拉取订单失败:" . $e->getMessage() . "\n";
+                    Redis::reconnect();
                     Timer::sleep(0.5);
                 }
             }