increase timeouts for retries

This commit is contained in:
Boss Marco 2022-06-08 10:58:54 +02:00
parent 46861e6a21
commit b00635c140
No known key found for this signature in database
GPG Key ID: 89A3EC33C625C3DF

View File

@ -37,8 +37,8 @@ export interface RetryPolicy {
const defaultRetryPolicy: RetryPolicy = { const defaultRetryPolicy: RetryPolicy = {
backoffBase: 1.5, backoffBase: 1.5,
backoffDelta: Duration.fromSpec({ seconds: 1 }), backoffDelta: Duration.fromSpec({ seconds: 30 }),
maxTimeout: Duration.fromSpec({ minutes: 1 }), maxTimeout: Duration.fromSpec({ minutes: 2 }),
}; };
function updateTimeout( function updateTimeout(