updated some formatting on charts

This commit is contained in:
UpstreamData
2022-03-04 14:36:43 -07:00
parent 727ebd9c42
commit 2c93f1f395
3 changed files with 5 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ async def miner_websocket(websocket: WebSocket, miner_ip):
"fans": fan_speeds,
"datetime": datetime.datetime.now().isoformat()}
await websocket.send_json(data)
await asyncio.sleep(5)
await asyncio.sleep(1)
except asyncio.exceptions.TimeoutError:
data = {"error": "The miner is not responding."}
await websocket.send_json(data)