This commit is contained in:
Ruakij 2021-12-09 17:12:42 +01:00
parent 7f5e168fda
commit 4e2ffec656

View File

@ -24,7 +24,7 @@ class InfluxDbLineProtocolWriter extends net.Socket{
options.autoReconnectBackoffTime ??= 3000; options.autoReconnectBackoffTime ??= 3000;
this._options = options; this._options = options;
super.setKeepalive(true, 5000); super.setKeepAlive(true, 5000);
// Register auto-Reconnect if enabled // Register auto-Reconnect if enabled
if(this._options.autoReconnect){ if(this._options.autoReconnect){