@hatchet-dev/typescript-sdk 0.15.1-alpha5 → 0.15.1-alpha6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/util/retrier.js +1 -1
package/package.json
CHANGED
package/util/retrier.js
CHANGED
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.retrier = retrier;
|
|
16
16
|
const sleep_1 = __importDefault(require("./sleep"));
|
|
17
|
-
const DEFAULT_RETRY_INTERVAL =
|
|
17
|
+
const DEFAULT_RETRY_INTERVAL = 1; // seconds
|
|
18
18
|
const DEFAULT_RETRY_COUNT = 8;
|
|
19
19
|
const MAX_JITTER = 400; // milliseconds
|
|
20
20
|
function retrier(fn_1, logger_1) {
|