This commit is contained in:
2019-03-11 07:06:31 +01:00
parent dc801464ed
commit 0401acd31b
12 changed files with 228 additions and 17 deletions

0
objects/__init__.py Normal file
View File

View File

@@ -1 +1,9 @@
sql = None
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"])