Closed jwrookie closed 3 years ago
No, that's intentional. The if retry is configured, you want to continue retrying for up-to ttl
. If you want to abort earlier than that, you can pass your own custom context.WithDeadline
to Obtain
. The other option is to NextBackoff
return 0
which will instantly cancel retries.