mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-07-17 10:13:15 -05:00
Bumped up numbers a TON, so it shouldn't run into any bottlenecks software sided
This commit is contained in:
parent
4d1ca211a2
commit
af196b0c99
|
|
@ -23,7 +23,7 @@ import endpoints.matchmaking
|
|||
|
||||
|
||||
def run():
|
||||
serve(app, host='0.0.0.0', port=8080, threads=8, connection_limit=1000, cleanup_interval=30, channel_timeout=120,)
|
||||
serve(app, host='0.0.0.0', port=8080, threads=100, connection_limit=2000, cleanup_interval=50, channel_timeout=190,)
|
||||
|
||||
|
||||
def keep_alive():
|
||||
|
|
@ -51,7 +51,10 @@ def keep_alive():
|
|||
# main
|
||||
# ------------------------------------------------------- #
|
||||
logger.setup_graylog(use_graylog, graylog_server)
|
||||
mongo.setup(mongo_host, mongo_db, mongo_collection)
|
||||
if dev_env == "true":
|
||||
mongo.setup(mongo_host, mongo_db_dev, mongo_collection)
|
||||
else:
|
||||
mongo.setup(mongo_host, mongo_db, mongo_collection)
|
||||
session_manager.setup()
|
||||
hash_handler.setup()
|
||||
webhook_handler.setup(steam_api_key, 555440)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user