mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 07:09:03 +00:00
Crawl tasks are now fetched by the crawlers instead of pushed by the server
This commit is contained in:
8
crawl_server/run.py
Normal file
8
crawl_server/run.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from crawl_server.task_manager import TaskManager
|
||||
import time
|
||||
import config
|
||||
|
||||
tm = TaskManager(config.CRAWL_SERVER_PROCESSES)
|
||||
|
||||
while True:
|
||||
time.sleep(1)
|
||||
Reference in New Issue
Block a user