From 43131c4d53aecb9325ae95bda909bb8e54263d16 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Fri, 24 May 2024 09:42:47 -1000 Subject: [PATCH] Remove old `on_startup` --- src/panoptes/pocs/utils/service/weather.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/panoptes/pocs/utils/service/weather.py b/src/panoptes/pocs/utils/service/weather.py index 0ac474622..d61d74150 100644 --- a/src/panoptes/pocs/utils/service/weather.py +++ b/src/panoptes/pocs/utils/service/weather.py @@ -58,7 +58,6 @@ async def lifespan(app: FastAPI): app = FastAPI(lifespan=lifespan) -@app.on_event('startup') @repeat_every(seconds=60, wait_first=True) def record_readings(): """Record the current readings in the db."""