Now using waitress as WSGI.

This commit is contained in:
ZKWolf
2023-07-09 18:16:41 +02:00
parent c18d293013
commit eb30ef81d8
2 changed files with 4 additions and 2 deletions

View File

@@ -2,4 +2,5 @@ flask
PyYaml
graypy
requests
pymongo
pymongo
waitress

View File

@@ -6,6 +6,7 @@
# ------------------------------------------------------- #
from threading import Thread
import time
from waitress import serve
from flask_definitions import *
import endpoints.unknown
@@ -23,7 +24,7 @@ import endpoints.matchmaking
def run():
app.run(host='0.0.0.0', port=8080)
serve(app, host='0.0.0.0', port=8080)
def keep_alive():