Closed gianfra-t closed 4 months ago
@pendulum-chain/devs Although I think this could solve the issue, I was not able to trigger a RequestTimeout
on a modified local chain to test it.
The CI keeps failing on me 😕. Someone knows why could this be?
Yes one of the previous was a failed build, very strange since it has been built many times already!
Closes #516.
General Description
Upon receiving a
RequestTimeout
error, the client should retry sending the transaction. This will be done with the samebackoff
used for other errors defined as "Skippable".Implementation
We add a method to identify the
RequestTimeout
error, and add it to the respective closures with the correspondingSkip
retry policy.The client's existing timeout (for some transactions) should also be larger (currently 5 minutes) than the one returned by the unresponsive chain. For requests we will just retry until the backoff is exausted.