We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc9c16 commit 70b47b5Copy full SHA for 70b47b5
1 file changed
abstract.js
@@ -317,7 +317,7 @@ function abstractPersistence (opts) {
317
// Wait for ready event, if applicable, to ensure the persistence isn't
318
// destroyed while it's still being set up.
319
// https://github.com/mcollina/aedes-persistence-redis/issues/41
320
- if (waitForReady) {
+ if (waitForReady && !instance.ready) {
321
await waitForEvent(instance, 'ready')
322
}
323
t.diagnostic('instance created')
0 commit comments