marco-hoyer / zcan

API proxy for Zehnder ComfoAir Q series devices with CAN bus interface
31 stars 7 forks source link

Add timeout to InfluxDBClient #3

Closed Arnold-n closed 1 year ago

Arnold-n commented 2 years ago

To avoid InfluxDBClient from hanging (likely due to sub-optimal wifi connection to non-local InfluxDB server), add parameters for timeout (1s) and for conducting one retry (retries=2).

marco-hoyer commented 1 year ago

Thanks for the contribution. Even though I'm already pretty late.