pg_query_state icon indicating copy to clipboard operation
pg_query_state copied to clipboard

what's the use of n_peers

Open xx789633 opened this issue 1 year ago • 0 comments

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.

xx789633 avatar Apr 28 '24 13:04 xx789633