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

what's the use of n_peers #52

Open
cwang9208 opened this issue Apr 28, 2024 · 0 comments
Open

what's the use of n_peers #52

cwang9208 opened this issue Apr 28, 2024 · 0 comments

Comments

@cwang9208
Copy link

Hello, pg_query_state is really a cool tool and I'm recently learning through the code. I noticed the process needs to check if n_peers is zero or wait a timeout before doing the actual work. It seems n_peers is used to protect something. Could anyone possibly explain what's the use of n_peers? Thanks for your time.

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

No branches or pull requests

1 participant