Skip to content
New issue

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

Fix waitForNotification on Windows #18

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

diogob
Copy link
Owner

@diogob diogob commented Aug 19, 2023

This should fix #17 using a fixed delay of 1 second to poll for new database notifications.

It seems that even with our test suite running green on windows there environments where this code does not work, since I could not pin down the exact cause the delay is a more robust solution.

… windows since it seems to be a more robust approach.
@diogob diogob merged commit 332cccb into master Aug 19, 2023
1 check passed
@diogob diogob deleted the fix-waitForNotification-on-windows branch August 19, 2023 18:35
diogob added a commit to diogob/postgrest that referenced this pull request Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

waitForNotifications not handling NOTIFY commands on Windows
1 participant