chore: update metrics

This commit is contained in:
Steven
2023-11-05 21:41:47 +08:00
parent 982b0285c9
commit 137e64b0dd
2 changed files with 3 additions and 0 deletions

View File

@@ -360,6 +360,7 @@ func (s *APIV1Service) CreateMemo(c echo.Context) error {
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to create activity").SetInternal(err)
}
metric.Enqueue("memo comment create")
if _, err := s.Store.CreateInbox(ctx, &store.Inbox{
SenderID: memo.CreatorID,
ReceiverID: relatedMemo.CreatorID,