Skip to content

what's the use of n_peers #52

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant