WebHost: job pool based world generation

This commit is contained in:
Fabian Dill
2020-08-18 01:18:37 +02:00
parent 52cf99c5c8
commit 39f85aa291
5 changed files with 153 additions and 56 deletions

View File

@@ -24,6 +24,7 @@ app.jinja_env.filters['any'] = any
app.jinja_env.filters['all'] = all
app.config["SELFHOST"] = True
app.config["GENERATORS"] = 8 # maximum concurrent world gens
app.config["SELFLAUNCH"] = True
app.config["DEBUG"] = False
app.config["PORT"] = 80