rabin hace 2 días
padre
commit
920e7b116c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);
                 }
             }