Removed obsolete debug messages
This commit is contained in:
parent
f22ec9b02d
commit
6aa242da85
1 changed files with 3 additions and 3 deletions
|
@ -178,7 +178,7 @@ void _writePoint()
|
||||||
|
|
||||||
uint32_t _timeout = millis();
|
uint32_t _timeout = millis();
|
||||||
|
|
||||||
debug("InfluxDB: check connection");
|
//debug("InfluxDB2: check connection");
|
||||||
do {
|
do {
|
||||||
} while (client.validateConnection() and (_timeout + INFLUXDB_TIMEOUT_MS) <= millis());
|
} while (client.validateConnection() and (_timeout + INFLUXDB_TIMEOUT_MS) <= millis());
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ void _writePoint()
|
||||||
|
|
||||||
_timeout = millis();
|
_timeout = millis();
|
||||||
|
|
||||||
debug("InfluxDB: waiting for write ready");
|
//debug("InfluxDB2: waiting for write ready");
|
||||||
// wait unitl ready
|
// wait unitl ready
|
||||||
do {
|
do {
|
||||||
} while (client.canSendRequest() == false and (_timeout + INFLUXDB_TIMEOUT_MS) <= millis());
|
} while (client.canSendRequest() == false and (_timeout + INFLUXDB_TIMEOUT_MS) <= millis());
|
||||||
|
@ -204,7 +204,7 @@ void _writePoint()
|
||||||
// Write point
|
// Write point
|
||||||
if (!client.writePoint(sensor))
|
if (!client.writePoint(sensor))
|
||||||
{
|
{
|
||||||
debug("InfluxDB write failed: " + String(client.getLastErrorMessage()) + " Err: " + String(client.getLastStatusCode()));
|
debug("InfluxDB2 write failed: " + String(client.getLastErrorMessage()) + " Err: " + String(client.getLastStatusCode()));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue