ShouldShutdownConnection doesn't need additional info

pull/6259/head
Onder Kalaci 2022-08-30 14:33:34 +03:00
parent e4a14858a8
commit 17f3c51a07
1 changed files with 1 additions and 2 deletions

View File

@ -1654,8 +1654,7 @@ ShouldShutdownConnection(MultiConnection *connection, const int cachedConnection
connection->requiresReplication ||
(MaxCachedConnectionLifetime >= 0 &&
MillisecondsToTimeout(connection->connectionEstablishmentStart,
MaxCachedConnectionLifetime) <= 0) ||
RemoteSocketClosed(connection);
MaxCachedConnectionLifetime) <= 0);
}