configure workers
This commit is contained in:
parent
0f55ec361f
commit
7bbe99852d
2 changed files with 4 additions and 2 deletions
|
@ -70,4 +70,5 @@ if __name__ == '__main__':
|
|||
|
||||
app.run(host=config.HTTP_ADDRESS,
|
||||
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_PORT = 8000
|
||||
HTTP_WORKERS = 4
|
||||
|
||||
SALT = "BRRJRqXgGpXWrgTidBPcixIThHpDuKc0"
|
||||
|
||||
|
@ -18,4 +19,4 @@ SECRET = "Uqca5Kc8xuU6THz9"
|
|||
|
||||
ROOT_URL = 'http://localhost:8000'
|
||||
|
||||
RSS_FILE = 'comments.xml'
|
||||
RSS_FILE = 'comments.xml'
|
||||
|
|
Loading…
Add table
Reference in a new issue