mirror of
https://github.com/simon987/od-database.git
synced 2025-12-10 13:44:30 +00:00
typo (again)
This commit is contained in:
2
task.py
2
task.py
@@ -204,7 +204,7 @@ class TaskDispatcher:
|
||||
queued_tasks = dict()
|
||||
pool = ThreadPoolExecutor(max_workers=10)
|
||||
crawl_servers = self.db.get_crawl_servers()
|
||||
responses = list(pool.map(lambda server: server.fetch_queued_tasks()))
|
||||
responses = list(pool.map(lambda s: s.fetch_queued_tasks(), crawl_servers))
|
||||
pool.shutdown()
|
||||
|
||||
for i, server in enumerate(crawl_servers):
|
||||
|
||||
Reference in New Issue
Block a user