You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pgwire: lower the max repeated error count before closing a connection
In 39067de we added behavior to give up and close a network connection
if a threshold of repeated errors was reached. It retried on errors
since some network errors could be transient.
It was retrying tens of thousands of times, which is excessive. We lower
this to 256 now. This is motivated by a few tests that identifed the
error handling logic in this tight loop being quite expensive. Retrying
fewer times means that we'll reduce CPU usage during failure scenarios.
Release note: None
0 commit comments