@nest-omni/core 1.0.51 → 1.0.52

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nest-omni/core",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -231,8 +231,7 @@ let ApiConfigService = ApiConfigService_1 = class ApiConfigService {
231
231
  redis: Object.assign(Object.assign({}, this.ioRedisConfig), { retryStrategy: (times) => Math.min(times * 1000, 5000) }),
232
232
  prefix: this.getString('BULL_PREFIX'),
233
233
  defaultJobOptions: {
234
- removeOnComplete: this.getNumber('BULL_REMOVE_COMPLETED_DAYS') * 24 * 3600 ||
235
- 7 * 24 * 3600,
234
+ removeOnComplete: true,
236
235
  removeOnFail: this.getNumber('BULL_REMOVE_FAILED_DAYS') * 24 * 3600 ||
237
236
  30 * 24 * 3600,
238
237
  attempts: this.getNumber('BULL_JOB_ATTEMPTS') || 5,