fix: test error

This commit is contained in:
chenos 2024-07-23 14:06:53 +08:00 committed by mytharcher
parent acc22c14b2
commit adc10b50df

View File

@ -18,7 +18,9 @@ export class RedisPubSubAdapter implements IPubSubAdapter {
subscriber;
constructor() {
this.publisher = createClient();
this.publisher = createClient({
url: process.env.REDIS_URL || 'redis://redis:6379',
});
this.subscriber = this.publisher.duplicate();
}