rabin 2 hari lalu
induk
melakukan
920e7b116c
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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);
                 }
             }