chore(queue): add queue message interface (#602)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -283,7 +283,7 @@ func handleNotification(ctx context.Context, cfg config.ConfYaml, req gorush.Req
|
||||
notification.AddWaitCount()
|
||||
}
|
||||
|
||||
if err := q.Queue(*notification); err != nil {
|
||||
if err := q.Queue(notification); err != nil {
|
||||
markFailedNotification(cfg, notification, "max capacity reached")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user