grammyjs / auto-retry

A transformer function for retrying requests.
https://grammy.dev/plugins/auto-retry
MIT License
7 stars 1 forks source link

feat: use better default values #16

Closed KnorpelSenf closed 8 months ago

KnorpelSenf commented 8 months ago

The default values never made sense. It is now time to refactor them.

BREAKING: the default values are changed BREAKING: the option retryOnInternalServerErrors was renamed to rethrowInteralServerErrors and its meaning was inverted