mirror of
https://github.com/penpot/penpot.git
synced 2026-08-26 14:48:43 +00:00
🐛 Fix incorrect metrics reporting on climit
This commit is contained in:
parent
79105e8034
commit
7db883e8b7
@ -131,8 +131,8 @@
|
|||||||
(defn- invoke
|
(defn- invoke
|
||||||
[limiter metrics limit-id limit-key limit-label profile-id f params]
|
[limiter metrics limit-id limit-key limit-label profile-id f params]
|
||||||
(let [tpoint (dt/tpoint)
|
(let [tpoint (dt/tpoint)
|
||||||
|
mlabels (into-array String [(id->str limit-id)])
|
||||||
limit-id (id->str limit-id limit-key)
|
limit-id (id->str limit-id limit-key)
|
||||||
mlabels (into-array String [limit-id])
|
|
||||||
stats (pbh/get-stats limiter)
|
stats (pbh/get-stats limiter)
|
||||||
id (.incrementAndGet ^AtomicLong idseq)]
|
id (.incrementAndGet ^AtomicLong idseq)]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user