mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 06:29:25 +08:00
fix: test error
This commit is contained in:
parent
acc22c14b2
commit
adc10b50df
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user