0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

🐛 Fix incorrect metrics reporting on climit

This commit is contained in:
Andrey Antukh 2024-02-02 11:04:19 +01:00
parent 79105e8034
commit 7db883e8b7

View file

@ -131,8 +131,8 @@
(defn- invoke
[limiter metrics limit-id limit-key limit-label profile-id f params]
(let [tpoint (dt/tpoint)
mlabels (into-array String [(id->str limit-id)])
limit-id (id->str limit-id limit-key)
mlabels (into-array String [limit-id])
stats (pbh/get-stats limiter)
id (.incrementAndGet ^AtomicLong idseq)]