Browse Source

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

罗俊辉 11 tháng trước cách đây
mục cha
commit
86a3460e5b
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  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