ソースを参照

入口引导节点,状态超时改为200

zx 2 年 前
コミット
5b984c67d0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      入口引导提示节点/async_communication.py

+ 1 - 1
入口引导提示节点/async_communication.py

@@ -86,7 +86,7 @@ class RabbitAsyncCommunicator(threading.Thread):
                     await message.ack()
                 if self._closing==True:
                     return
-    async def recv_statu(self,ex_name,key,ttl=1000):
+    async def recv_statu(self,ex_name,key,ttl=200):
         statu_ex=await self._channel_statu.get_exchange(ex_name)
         arg={}
         arg["x-message-ttl"]=ttl