Browse Source

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

罗俊辉 11 months ago
parent
commit
86a3460e5b
1 changed files with 7 additions and 1 deletions
  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