You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gateway uses async-retry with default settings internally to perform retries. The default settings of async retry also has randomize flag set to true. Due to this the timeouts between retries can have a random behaviour as they get multiplied randomly by a number between 1 and 2. So the retry timeouts follow a random pattern instead of following 1s, 2s, 4s, 8s and 16s pattern.
We should set randomize to false to avoid any random timeout behaviour for retries.
Gateway uses async-retry with default settings internally to perform retries. The default settings of async retry also has randomize flag set to true. Due to this the timeouts between retries can have a random behaviour as they get multiplied randomly by a number between 1 and 2. So the retry timeouts follow a random pattern instead of following 1s, 2s, 4s, 8s and 16s pattern.
We should set randomize to false to avoid any random timeout behaviour for retries.
Docs for async-retry default settings: https://github.com/vercel/async-retry#readme
The text was updated successfully, but these errors were encountered: