mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
10 lines
241 B
Python
10 lines
241 B
Python
from crawl_server.task_manager import TaskManager
|
|
import time
|
|
import config
|
|
|
|
tm = TaskManager(config.CRAWL_SERVER_PROCESSES)
|
|
# TODO: On start, indicate that all tasks assigned to this crawler have been dropped
|
|
|
|
while True:
|
|
time.sleep(1)
|