WebHost: split autolaunch and autogen services

This commit is contained in:
Fabian Dill
2021-12-13 05:48:33 +01:00
parent 3bf367d630
commit 3f20bdaaa2
3 changed files with 29 additions and 11 deletions

View File

@@ -22,9 +22,10 @@ Pony(app)
app.jinja_env.filters['any'] = any
app.jinja_env.filters['all'] = all
app.config["SELFHOST"] = True
app.config["SELFHOST"] = True # application process is in charge of running the websites
app.config["GENERATORS"] = 8 # maximum concurrent world gens
app.config["SELFLAUNCH"] = True
app.config["SELFLAUNCH"] = True # application process is in charge of launching Rooms.
app.config["SELFGEN"] = True # application process is in charge of scheduling Generations.
app.config["DEBUG"] = False
app.config["PORT"] = 80
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER