🚑️ hotfix: mixpanel async

This commit is contained in:
xtaodada 2022-08-02 21:49:47 +08:00
parent 772b58b2b6
commit b8a8d1e4af
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 3 additions and 2 deletions

View File

@ -3,9 +3,9 @@ from pagermaid.enums import Client, Message
from pagermaid.hook import Hook from pagermaid.hook import Hook
from mixpanel import Mixpanel from mixpanel import Mixpanel
from mixpanel_async import AsyncBufferedConsumer
mp = Mixpanel(Config.MIXPANEL_API, consumer=AsyncBufferedConsumer())
mp = Mixpanel(Config.MIXPANEL_API)
@Hook.on_startup() @Hook.on_startup()

View File

@ -10,4 +10,5 @@ apscheduler
sqlitedict sqlitedict
casbin==1.16.11 casbin==1.16.11
mixpanel mixpanel
mixpanel-py-async
sentry-sdk==1.9.0 sentry-sdk==1.9.0