diff --git a/src/modules/stream_notifications/twitch/webhook.py b/src/modules/stream_notifications/twitch/webhook.py index fc02fe5..80b0e8d 100644 --- a/src/modules/stream_notifications/twitch/webhook.py +++ b/src/modules/stream_notifications/twitch/webhook.py @@ -71,7 +71,10 @@ class TwitchService: streamers = await StreamerConfigRepository.all() try: + logger.info("Unsubscribe from all events...") await eventsub.unsubscribe_all() + await sleep(5) + logger.info("Unsubscribe from all events done") eventsub.start()