From f2575e04fb1f67822bb5a00b6d0c469e9156c005 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 30 Sep 2025 17:20:02 +0200 Subject: [PATCH] Update. --- src/snek/app.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/snek/app.py b/src/snek/app.py index c174f0b..16702d6 100644 --- a/src/snek/app.py +++ b/src/snek/app.py @@ -171,18 +171,11 @@ class Application(BaseApplication): self.ip2location = IP2Location.IP2Location( base_path.joinpath("IP2LOCATION-LITE-DB11.BIN") ) - self.on_startup.append(self.prepare_stats) self.on_startup.append(self.prepare_asyncio) self.on_startup.append(self.start_user_availability_service) self.on_startup.append(self.start_ssh_server) self.on_startup.append(self.prepare_database) - - - - async def prepare_stats(self, app): - app['stats'] = create_stats_structure() - print("Stats prepared", flush=True) - + @property def uptime_seconds(self):