mirror of https://github.com/citusdata/citus.git
ShouldShutdownConnection doesn't need additional info
parent
e4a14858a8
commit
17f3c51a07
|
@ -1654,8 +1654,7 @@ ShouldShutdownConnection(MultiConnection *connection, const int cachedConnection
|
|||
connection->requiresReplication ||
|
||||
(MaxCachedConnectionLifetime >= 0 &&
|
||||
MillisecondsToTimeout(connection->connectionEstablishmentStart,
|
||||
MaxCachedConnectionLifetime) <= 0) ||
|
||||
RemoteSocketClosed(connection);
|
||||
MaxCachedConnectionLifetime) <= 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue