mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 03:59:15 +00:00
🚑️ hotfix: mixpanel async
This commit is contained in:
parent
772b58b2b6
commit
b8a8d1e4af
@ -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()
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user