Skip to content

Commit

Permalink
Update maxLifetime comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB authored Dec 27, 2022
1 parent 66ec193 commit 1612690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ struct TemplatedApp {
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<void(HttpResponse<SSL> *, HttpRequest *, struct us_socket_context_t *)> upgrade = nullptr;
MoveOnlyFunction<void(WebSocket<SSL, true, UserData> *)> open = nullptr;
Expand Down

0 comments on commit 1612690

Please sign in to comment.