This commit is contained in:
2024-11-17 22:48:40 +01:00
parent 0fcbb59145
commit 248cf86768

View File

@@ -71,7 +71,10 @@ class TwitchService:
streamers = await StreamerConfigRepository.all() streamers = await StreamerConfigRepository.all()
try: try:
logger.info("Unsubscribe from all events...")
await eventsub.unsubscribe_all() await eventsub.unsubscribe_all()
await sleep(5)
logger.info("Unsubscribe from all events done")
eventsub.start() eventsub.start()