mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
fixed pymongo connection issue
This commit is contained in:
@@ -9,7 +9,7 @@ from db.manager import db_manager
|
||||
|
||||
|
||||
class Scheduler(object):
|
||||
mongo = MongoClient(host=MONGO_HOST, port=MONGO_PORT)
|
||||
mongo = MongoClient(host=MONGO_HOST, port=MONGO_PORT, connect=False)
|
||||
task_col = 'apscheduler_jobs'
|
||||
|
||||
# scheduler jobstore
|
||||
|
||||
Reference in New Issue
Block a user