From 16126902c2d2e438732a36de0da02f7d39f144eb Mon Sep 17 00:00:00 2001 From: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com> Date: Tue, 27 Dec 2022 19:39:16 +0100 Subject: [PATCH] Update maxLifetime comment --- src/App.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.h b/src/App.h index 76e7923..725f7f5 100644 --- a/src/App.h +++ b/src/App.h @@ -233,7 +233,7 @@ public: bool resetIdleTimeoutOnSend = false; /* A good default, esp. for newcomers */ bool sendPingsAutomatically = true; - /* Maximum socket lifetime in seconds before forced closure (defaults to disabled) */ + /* Maximum socket lifetime in minutes before forced closure (defaults to disabled) */ unsigned short maxLifetime = 0; MoveOnlyFunction *, HttpRequest *, struct us_socket_context_t *)> upgrade = nullptr; MoveOnlyFunction *)> open = nullptr;