2021-02-08 20:04:32 +00:00
|
|
|
import eventlet
|
|
|
|
eventlet.monkey_patch()
|
|
|
|
#
|
|
|
|
# import eventlet.debug
|
|
|
|
# from engineio.payload import Payload
|
|
|
|
#
|
|
|
|
# # Some fixers for Websockets
|
|
|
|
# eventlet.debug.hub_prevent_multiple_readers(False)
|
|
|
|
# Payload.max_decode_packets = 120 # Fix too many small packets causing error
|
|
|
|
|
2021-02-06 04:52:46 +00:00
|
|
|
from core import app
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2021-02-09 23:14:32 +00:00
|
|
|
app.run()
|