Trying to optimize pusher serivce

This commit is contained in:
2025-08-25 21:48:07 +08:00
parent eab2a388ae
commit 081815c512
7 changed files with 21 additions and 18 deletions

View File

@@ -51,7 +51,6 @@ public class QueueBackgroundService(
}
else
{
await msg.ReplyAsync(cancellationToken: stoppingToken);
logger.LogWarning($"Invalid message format for {msg.Subject}");
}
}
@@ -92,8 +91,6 @@ public class QueueBackgroundService(
logger.LogWarning("Unknown message type: {MessageType}", message.Type);
break;
}
await rawMsg.ReplyAsync(cancellationToken: cancellationToken);
}
catch (Exception ex)
{