소스 검색

新框架 bug 暂停

罗俊辉 1 년 전
부모
커밋
d0512fe46f
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      app/main.py

+ 3 - 2
app/main.py

@@ -86,8 +86,9 @@ async def main():
     """
     spider_list = TopicGroup().produce()
     while spider_list:
-        tasks = [consume_single_message(spider) for spider in spider_list]
-        await asyncio.gather(*tasks)
+        print(spider_list)
+        # tasks = [consume_single_message(spider) for spider in spider_list]
+        # await asyncio.gather(*tasks)
         await asyncio.sleep(60)