@autofleet/rabbit 2.5.2 → 2.5.3

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/dist/index.js CHANGED
@@ -14,7 +14,7 @@ const outbreak_1 = require("@autofleet/outbreak");
14
14
  const logger_1 = __importDefault(require("./logger"));
15
15
  const rabbitError_1 = __importDefault(require("./rabbitError"));
16
16
  const redis_1 = __importDefault(require("./redis"));
17
- const DEFAULT_DEAD_TTL_TWO_DAYS = 60000 * 60 * 48;
17
+ const DEFAULT_DEAD_TTL_TWO_DAYS = 60000 * 60 * 12;
18
18
  const DEFAULT_LOCK_TIMEOUT = 1000 * 5;
19
19
  const RETRY_HEADER = 'x-retry-count';
20
20
  const TRACING_HEADER = 'x-trace-id';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/rabbit",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -52,7 +52,7 @@ export interface AfRabbitOptions {
52
52
  disableReconnect: boolean;
53
53
  }
54
54
 
55
- const DEFAULT_DEAD_TTL_TWO_DAYS = 60000 * 60 * 48;
55
+ const DEFAULT_DEAD_TTL_TWO_DAYS = 60000 * 60 * 12;
56
56
  const DEFAULT_LOCK_TIMEOUT = 1000 * 5;
57
57
  const RETRY_HEADER = 'x-retry-count';
58
58
  const TRACING_HEADER = 'x-trace-id';