浏览代码

2024-07-01
修改并发数
爬虫处理数量:6
缓存处理数量:40

罗俊辉 11 月之前
父节点
当前提交
86a3460e5b
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      applications/static/config.py

+ 7 - 1
applications/static/config.py

@@ -461,4 +461,10 @@ db_article = "long_articles_video"
 
 # dev
 # db_article = "long_articles_video_dev"
-article_queue = "long_articles_queue"
+article_queue = "long_articles_queue"
+
+# spider coroutines
+spider_coroutines = 6
+
+# mysql coroutines
+mysql_coroutines = 40