rabin 2 ngày trước cách đây
mục cha
commit
920e7b116c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
                 }
             }