Skip to content

Commit

Permalink
Sets DequeuedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
itzloop committed Jun 12, 2024
1 parent 43315d2 commit e96242e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webhook/url_notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func (n *URLNotifier) Stop(force bool) {
func (n *URLNotifier) send(event *livekit.WebhookEvent) error {
// set dropped count
event.NumDropped = n.dropped.Swap(0)
event.DequeuedAt = time.Now().Unix()
encoded, err := protojson.Marshal(event)
if err != nil {
return err
Expand Down

0 comments on commit e96242e

Please sign in to comment.