瀏覽代碼

新框架 bug 再次测试

罗俊辉 1 年之前
父節點
當前提交
d7f6f6e20e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/main.py

+ 1 - 1
app/main.py

@@ -89,7 +89,7 @@ async def main():
         # print(spider_list)
         # print(spider_list)
         tasks = [consume_single_message(spider) for spider in spider_list]
         tasks = [consume_single_message(spider) for spider in spider_list]
         await asyncio.gather(*tasks)
         await asyncio.gather(*tasks)
-        await asyncio.sleep(600)
+        await asyncio.sleep(20)
 
 
 
 
         # print("Hello World {}".format(" ".join(spider_list)))
         # print("Hello World {}".format(" ".join(spider_list)))