Skip to content

Commit b8636a7

Browse files
author
aden.chen
committed
Revert "Handling redis timeout in RedisSubscriber"
This reverts commit 1184528.
1 parent 1184528 commit b8636a7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Infrastructure/BotSharp.Core/Infrastructures/Events/RedisSubscriber.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ public async Task SubscribeAsync(string channel, string group, int? port, bool p
8181
await HandleGroupMessage(db, channel, group, consumer, received, $"{channel}-Error");
8282
}
8383
}
84-
catch (RedisTimeoutException)
85-
{
86-
_logger.LogWarning($"Redis timeout for channel {channel}, will retry in next cycle");
87-
}
8884
catch (Exception ex)
8985
{
9086
_logger.LogError($"Error processing message: {ex.Message}\r\n{ex}");

0 commit comments

Comments
 (0)