Revert "Handling redis timeout in RedisSubscriber"
This reverts commit 1184528d70.
This commit is contained in:
parent
1184528d70
commit
b8636a7c40
|
|
@ -81,10 +81,6 @@ public class RedisSubscriber : IEventSubscriber
|
||||||
await HandleGroupMessage(db, channel, group, consumer, received, $"{channel}-Error");
|
await HandleGroupMessage(db, channel, group, consumer, received, $"{channel}-Error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (RedisTimeoutException)
|
|
||||||
{
|
|
||||||
_logger.LogWarning($"Redis timeout for channel {channel}, will retry in next cycle");
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.LogError($"Error processing message: {ex.Message}\r\n{ex}");
|
_logger.LogError($"Error processing message: {ex.Message}\r\n{ex}");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue