From 610afc7702550b3743a9bd23d06f36983b66b59f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 14 May 2021 12:35:22 +0200 Subject: [PATCH] :sparkles: Fix msbus/redis logged errors on restarting (repl). --- backend/src/app/msgbus.clj | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/backend/src/app/msgbus.clj b/backend/src/app/msgbus.clj index 8058c6577..f7a013f72 100644 --- a/backend/src/app/msgbus.clj +++ b/backend/src/app/msgbus.clj @@ -21,6 +21,7 @@ java.time.Duration io.lettuce.core.RedisClient io.lettuce.core.RedisURI + io.lettuce.core.api.StatefulConnection io.lettuce.core.api.StatefulRedisConnection io.lettuce.core.api.async.RedisAsyncCommands io.lettuce.core.codec.ByteArrayCodec @@ -130,6 +131,7 @@ ;; --- REDIS BACKEND IMPL +(declare impl-redis-open?) (declare impl-redis-pub) (declare impl-redis-sub) (declare impl-redis-unsub) @@ -162,7 +164,8 @@ (a/go-loop [] (when-let [val (a/