mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
Added threading, bumped connection limit, set cleanup interval and channel timeout for waitress
This commit is contained in:
parent
e207da54db
commit
f8a8599574
|
|
@ -23,7 +23,7 @@ import endpoints.matchmaking
|
|||
|
||||
|
||||
def run():
|
||||
serve(app, host='0.0.0.0', port=8080)
|
||||
serve(app, host='0.0.0.0', port=8080, threads=8, connection_limit=1000, cleanup_interval=30, channel_timeout=120,)
|
||||
|
||||
|
||||
def keep_alive():
|
||||
|
|
@ -54,4 +54,5 @@ logger.setup_graylog(use_graylog, graylog_server)
|
|||
mongo.setup(mongo_host, mongo_db, mongo_collection)
|
||||
session_manager.setup()
|
||||
hash_handler.setup()
|
||||
webhook_handler.setup(steam_api_key, 555440)
|
||||
keep_alive()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user