multithreading and parsing1
This commit is contained in:
@@ -11,5 +11,9 @@ if path.exists((cfg_pth := path.join(config_path, "../config.cfg"))):
|
||||
config.read(cfg_pth)
|
||||
|
||||
settings = {
|
||||
"mongodb_uri": config.get("DB","MONGODB_URI")
|
||||
}
|
||||
"mongodb_uri": config.get("DB","MONGODB_URI"),
|
||||
"mongodb_db": config.get("DB","MONGODB_DB"),
|
||||
"mongodb_collection": config.get("DB","MONGODB_COLLECTION"),
|
||||
"orsr_url": config.get("WEB", "ORSR_URL"),
|
||||
"threads": int(config.get("APP", "THREADS"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user