Influx fix (#6289)

* Fix: replace influxdb query by another query that is more lightweight and won't timeout

* Fix: replace influxdb query by another query that is more lightweight and won't timeout
pull/6305/head
Open Home Automation 2017-02-28 04:54:43 +01:00 committed by Paulus Schoutsen
parent f7c7073cd7
commit 0fa259089d
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def setup(hass, config):
try:
influx = InfluxDBClient(**kwargs)
influx.query("SELECT * FROM /.*/ LIMIT 1;")
influx.query("SHOW DIAGNOSTICS;")
except exceptions.InfluxDBClientError as exc:
_LOGGER.error("Database host is not accessible due to '%s', please "
"check your entries in the configuration file and that "