浏览代码

入口引导节点,状态超时改为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