We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the server disconnects us; we will only know when the next select 1 runs:
select 1
graphile-engine/packages/pg-pubsub/src/index.ts
Line 181 in 9940895
We should catch this issue and reconnect earlier so we miss fewer events.
pg-pubsub should reconnect quickly.
pg-pubsub only notices when the next select 1 fails (up to 25 seconds later).
client.on('error', () => {releaseClient(client); if (!pgPool.ending) setupClient()})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
If the server disconnects us; we will only know when the next
select 1
runs:graphile-engine/packages/pg-pubsub/src/index.ts
Line 181 in 9940895
We should catch this issue and reconnect earlier so we miss fewer events.
Steps to reproduce
Expected results
pg-pubsub should reconnect quickly.
Actual results
pg-pubsub only notices when the next
select 1
fails (up to 25 seconds later).Possible Solution
client.on('error', () => {releaseClient(client); if (!pgPool.ending) setupClient()})
The text was updated successfully, but these errors were encountered: