@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/util/retrier.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatchet-dev/typescript-sdk",
3
- "version": "0.15.1-alpha5",
3
+ "version": "0.15.1-alpha6",
4
4
  "description": "Background task orchestration & visibility for developers",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
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 = 0.1; // seconds
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) {