Skip to content

Commit

Permalink
Remove old on_startup
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed May 24, 2024
1 parent b73d8b6 commit 43131c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/panoptes/pocs/utils/service/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 43131c4

Please sign in to comment.