From 0dbe9edc98c805fadea9f966fc625f1483ca822d Mon Sep 17 00:00:00 2001 From: MrMissx Date: Sun, 14 Jul 2024 23:34:05 +0700 Subject: [PATCH] fix: change metrics port --- anjani/internal_plugins/canonical.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anjani/internal_plugins/canonical.py b/anjani/internal_plugins/canonical.py index 4c13c6e5d..4f51991e6 100644 --- a/anjani/internal_plugins/canonical.py +++ b/anjani/internal_plugins/canonical.py @@ -77,7 +77,7 @@ async def _setup_web_app(self): app.add_routes([web.get("/metrics", metrics_handler)]) self._web_runner = web.AppRunner(app) await self._web_runner.setup() - self._web_site = web.TCPSite(self._web_runner, "localhost", 8080) + self._web_site = web.TCPSite(self._web_runner, "localhost", 9090) await self._web_site.start() async def stop_aiohttp_server(self): diff --git a/pyproject.toml b/pyproject.toml index fbbb2a414..0f71b11ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "anjani" -version = "2.14.6" +version = "2.14.7" description = "Telegram group management bot" license = "GPL-3.0-or-later" authors = [