Skip to content

Commit

Permalink
Merge pull request #54 from planetary-social/temporarily_disable_metric
Browse files Browse the repository at this point in the history
Check if metrics is the cause of the crash
  • Loading branch information
dcadenas authored Jul 26, 2024
2 parents 53aa66b + 61546a6 commit 39c3411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/adapters/apns/apns.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (a *APNS) SendNotification(notification notifications.Notification) error {
n.Priority = apns2.PriorityLow

resp, err := a.client.Push(n)
a.metrics.ReportCallToAPNS(resp.StatusCode, err)
//a.metrics.ReportCallToAPNS(resp.StatusCode, err)
if err != nil {
return errors.Wrap(err, "error pushing the notification")
}
Expand Down

0 comments on commit 39c3411

Please sign in to comment.