From 033355395f305a7fd2b3d4d0cedb443e28d92112 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 13 Sep 2021 15:00:08 +0200 Subject: [PATCH] :bug: Fix metrics on ws connections. --- backend/src/app/notifications.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/app/notifications.clj b/backend/src/app/notifications.clj index 80afa560f..9c6b51dab 100644 --- a/backend/src/app/notifications.clj +++ b/backend/src/app/notifications.clj @@ -135,7 +135,7 @@ ws-send (mtx/wrap-counter ws-send mtx-messages ["send"])] (letfn [(on-connect [conn] - (mtx-aconn :inc) + ((::mtx/fn mtx-aconn) {}) ;; A subscription channel should use a lossy buffer ;; because we can't penalize normal clients when one ;; slow client is connected to the room. @@ -162,8 +162,8 @@ (a/