Skip to content

Interplay between reservationConcurrency and discoverRelays #2654

Answered by achingbrain
2color asked this question in Q&A
Discussion options

You must be logged in to vote

These settings control different things.

discoverRelays means "Make reservations on this many relays". So setting it to 0 means you won't make any reservations, setting it to 100 means you'll make 100 reservations.

reservationConcurrency means "Try to make this many reservations at the same time". So setting it to 1 will make reservations on relays sequentially (bad if you encounter a relay that's slow to respond), setting it to a greater number will make that many reservation attempts in parallel, but the total number of reservations you'll make is still controlled by discoverRelays.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 2color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants