delay 100ms

This commit is contained in:
Haiping Chen 2024-11-24 09:10:03 -06:00
parent f722781be4
commit 0b98fe0dfe

View file

@ -42,6 +42,8 @@ public class RedisSubscriber : IEventSubscriber
while (true)
{
await Task.Delay(100);
if (priorityEnabled)
{
if (await HandleGroupMessage(db, $"{channel}-{EventPriority.High}", group, received) > 0)