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 ||
|
connection->requiresReplication ||
|
||||||
(MaxCachedConnectionLifetime >= 0 &&
|
(MaxCachedConnectionLifetime >= 0 &&
|
||||||
MillisecondsToTimeout(connection->connectionEstablishmentStart,
|
MillisecondsToTimeout(connection->connectionEstablishmentStart,
|
||||||
MaxCachedConnectionLifetime) <= 0) ||
|
MaxCachedConnectionLifetime) <= 0);
|
||||||
RemoteSocketClosed(connection);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue