diff --git a/package-lock.json b/package-lock.json index 1ad4c307..d3fe5f83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -889,9 +889,9 @@ } }, "@types/ioredis": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.17.11.tgz", - "integrity": "sha512-XAg9kOLyClyyP2BjfO9NWQmDDJFTNxvz2qkE+BMBfQoAN0/o6X53X2gefgfm4bn89A9462DyzNEL1q23oeCRSg==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.19.2.tgz", + "integrity": "sha512-fejSsJ4pYvA8zVLvAgQFI9T2uvxhUW7Ph95KodnNxMZvnUhQrn4ohxjH7fuU+jUw7Q4JCDcaba7JxDmszFmrCA==", "dev": true, "requires": { "@types/node": "*" diff --git a/package.json b/package.json index 3066f8e4..bcb11763 100644 --- a/package.json +++ b/package.json @@ -29,16 +29,16 @@ "ioredis": "^4.19.4" }, "devDependencies": { - "@types/ioredis": "^4.17.10", - "@types/jest": "^26.0.19", - "@types/node": "^14.14.19", + "@types/ioredis": "^4.19.2", + "@types/jest": "^26.0.20", + "@types/node": "^14.14.22", "ioredis-mock": "^5.2.0", "jest": "^26.6.3", "node-schedule": "^1.3.2", "prettier": "^2.2.1", "ts-jest": "^26.4.4", "ts-node": "^9.1.1", - "typedoc": "^0.20.10", + "typedoc": "^0.20.18", "typescript": "^4.1.3" }, "jest": { diff --git a/src/core/queue.ts b/src/core/queue.ts index c0242b23..c1b0c6ce 100644 --- a/src/core/queue.ts +++ b/src/core/queue.ts @@ -111,7 +111,7 @@ export class Queue extends EventEmitter { .sadd(this.connection.key("timestamps:" + item), "delayed:" + rTimestamp) .zadd( this.connection.key("delayed_queue_schedule"), - rTimestamp.toString(), + rTimestamp, rTimestamp.toString() ) .exec();