mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Add redis to requirements and test for uwsgi to monkeypatch
This commit is contained in:
parent
0631ccc96d
commit
718fafe0a0
@ -9,3 +9,4 @@ https://github.com/TitanEmbeds/discord.py/archive/async.zip#egg=discord.py[voice
|
||||
asyncio_extras
|
||||
kombu
|
||||
redis
|
||||
aioredis
|
@ -7,6 +7,11 @@ from .blueprints import api, user, admin, embed, gateway
|
||||
import os
|
||||
from titanembeds.database import get_administrators_list
|
||||
|
||||
try:
|
||||
import uwsgi
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
except:
|
||||
if config.get("websockets-mode", None) == "eventlet":
|
||||
import eventlet
|
||||
eventlet.monkey_patch()
|
||||
|
Loading…
Reference in New Issue
Block a user