Skip to content

Commit

Permalink
chore: remove promise set for redis transporter
Browse files Browse the repository at this point in the history
ioredis v5 does not support plugging third-party Promise library anymore.
  • Loading branch information
Aleksey Kuznetsov committed Jun 11, 2024
1 parent ab3372d commit 000956a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transporters/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ class RedisTransporter extends Transporter {
let Redis;
try {
Redis = require("ioredis");
Redis.Promise = this.broker.Promise;
} catch (err) {
/* istanbul ignore next */
this.broker.fatal(
Expand Down

0 comments on commit 000956a

Please sign in to comment.