configure workers
This commit is contained in:
parent
09bf8fd641
commit
2cbd4e96b8
2 changed files with 4 additions and 2 deletions
|
@ -70,4 +70,5 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
app.run(host=config.HTTP_ADDRESS,
|
app.run(host=config.HTTP_ADDRESS,
|
||||||
port=config.HTTP_PORT,
|
port=config.HTTP_PORT,
|
||||||
debug=config.DEBUG)
|
debug=config.DEBUG,
|
||||||
|
workers=config.HTTP_WORKERS)
|
||||||
|
|
|
@ -11,6 +11,7 @@ MAIL_URL = "http://localhost:8025/mbox"
|
||||||
|
|
||||||
HTTP_ADDRESS = "0.0.0.0"
|
HTTP_ADDRESS = "0.0.0.0"
|
||||||
HTTP_PORT = 8000
|
HTTP_PORT = 8000
|
||||||
|
HTTP_WORKERS = 4
|
||||||
|
|
||||||
SALT = "BRRJRqXgGpXWrgTidBPcixIThHpDuKc0"
|
SALT = "BRRJRqXgGpXWrgTidBPcixIThHpDuKc0"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue