import json from multiprocessing.pool import ThreadPool with open("config.json", "r") as f: config = json.load(f) app = None sql = None pool = ThreadPool(config["threads"])