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
-- https://github.com/brendanhay/amazonka/issues/351
configureRetries :: Env -> Env
configureRetries env =
let
check e =
let
check' = dynamoDB ^. serviceRetry . retryCheck
in
case check' e of
Nothing ->
case has (hasCode "ProvisionedThroughputExceeded" . hasStatus 400) e of
True ->
Just "throughput_exceeded_x"
False ->
Nothing
Just x ->
Just x
in
flip configure env .
flip (over serviceRetry) dynamoDB $
set retryAttempts 7 .
set exponentBase 0.6 .
set retryCheck check
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: