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):