1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.defaultDelayDecider = void 0;
|
4 | const util_retry_1 = require("@aws-sdk/util-retry");
|
5 | const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(util_retry_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
|
6 | exports.defaultDelayDecider = defaultDelayDecider;
|