Bumped up numbers a TON, so it shouldn't run into any bottlenecks software sided

This commit is contained in:
ZKWolf 2024-06-04 02:43:50 +02:00
parent 4d1ca211a2
commit af196b0c99

View File

@ -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)