Skip to content

Commit

Permalink
Change default repeat time to 30 seconds. Should be user configurable.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee authored Sep 2, 2023
1 parent 85688da commit 07d5974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aag/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def init_sensor():


@app.on_event('startup')
@repeat_every(seconds=5, wait_first=True)
@repeat_every(seconds=30, wait_first=True)
def get_reading():
""" Get a single reading of all values."""
return sensor.get_reading()
Expand Down

0 comments on commit 07d5974

Please sign in to comment.