2 ms·
But what if maxRetries is 0 or 1000? (I've seen both). That really changes the meaning of the code you're reading.
by bryanlarsen 11y ago
But what if maxRetries is 0 or 1000? (I've seen both). That really changes the meaning of the code you're reading.
- falcolas 11y ago1000 doesn't change the meaning at all - it's still retrying a block of code some finite number of times. 0 does change it a bit, but only in that the code is not being executed, not that there is suddenly no retry logic which exists in the code.