From 4e2ffec656383d2c5c88df9393467c2b55a395bb Mon Sep 17 00:00:00 2001 From: Ruakij Date: Thu, 9 Dec 2021 17:12:42 +0100 Subject: [PATCH] Fix typo --- src/streamHandler/InfluxDbLineProtocolWriter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamHandler/InfluxDbLineProtocolWriter.js b/src/streamHandler/InfluxDbLineProtocolWriter.js index f0c9a1f..8eef2e5 100644 --- a/src/streamHandler/InfluxDbLineProtocolWriter.js +++ b/src/streamHandler/InfluxDbLineProtocolWriter.js @@ -24,7 +24,7 @@ class InfluxDbLineProtocolWriter extends net.Socket{ options.autoReconnectBackoffTime ??= 3000; this._options = options; - super.setKeepalive(true, 5000); + super.setKeepAlive(true, 5000); // Register auto-Reconnect if enabled if(this._options.autoReconnect){