From cde3b67411437e5c9bf8675cd802e3fac21787bc Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Tue, 7 Jan 2025 19:54:11 +0100 Subject: [PATCH] Fix --- docker/build.dockerfile | 2 +- src/modules/stream_notifications/twitch/webhook.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/build.dockerfile b/docker/build.dockerfile index ba9700d..46542d3 100644 --- a/docker/build.dockerfile +++ b/docker/build.dockerfile @@ -3,7 +3,7 @@ FROM python:3.12-slim AS build ARG POETRY_EXPORT_EXTRA_ARGS='' WORKDIR /opt/venv -RUN python -m venv /opt/venv && /opt/venv/bin/pip install --upgrade pip && /opt/venv/bin/pip install --no-cache-dir httpx poetry +RUN python -m venv /opt/venv && /opt/venv/bin/pip install --upgrade pip && /opt/venv/bin/pip install --no-cache-dir httpx poetry poetry-plugin-export COPY ./pyproject.toml ./poetry.lock ./ RUN --mount=type=ssh /opt/venv/bin/poetry export --without-hashes ${POETRY_EXPORT_EXTRA_ARGS} > requirements.txt \ diff --git a/src/modules/stream_notifications/twitch/webhook.py b/src/modules/stream_notifications/twitch/webhook.py index 1d52511..163130e 100644 --- a/src/modules/stream_notifications/twitch/webhook.py +++ b/src/modules/stream_notifications/twitch/webhook.py @@ -137,7 +137,6 @@ class TwitchService: await self._check_token() finally: logger.info("Twitch service stopping...") - await wait_for(self.stop(eventsub), timeout=5) @classmethod