Skip to content

Commit

Permalink
Merge pull request #390 from michaelmittermair/master
Browse files Browse the repository at this point in the history
Fixed endless loop causing 100% cpu usage
  • Loading branch information
jasonacox authored Jul 25, 2023
2 parents ea1444c + a809d28 commit 38a193d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/mqtt/mqtt_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,5 @@ def set_dps(url):
last = time.time()
devices = getdevices()
get_status_all(devices)
# Slow down
time.sleep(0.1)
# Slow down
time.sleep(0.1)

0 comments on commit 38a193d

Please sign in to comment.