Module: Lemans::Environments::Daytona::Retries
- Included in:
- Shell, SnapshotStore
- Defined in:
- lib/lemans/environments/daytona/retries.rb
Overview
Another try for calls whose repeat is free. Only reads qualify: a mutation may have landed server-side before its failure surfaced.
Constant Summary collapse
- SDK_ERRORS =
The snapshot service leaks the generated client's own error classes instead of wrapping them, so both dialects have to be caught.
[::Daytona::Sdk::Error, *::Daytona::Sdk::API_ERROR_CLASSES].freeze
- READ_ATTEMPTS =
3- RETRY_DELAY_SEC =
2