Prevent ECU polling from hanging on stalled sockets
This commit is contained in:
+4
-1
@@ -152,7 +152,10 @@ async def get_data():
|
||||
client.write_points(points)
|
||||
|
||||
logging.info('Wrote %s points to InfluxDB', len(points))
|
||||
|
||||
else:
|
||||
logging.info(
|
||||
'ECU poll completed; no new sample (ECU time: %s)',
|
||||
data['timestamp'])
|
||||
|
||||
prev_ecu_timestamp = data['timestamp']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user