mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 01:26:11 +02:00
🐛 Fix incorrect metrics reporting on climit
This commit is contained in:
parent
79105e8034
commit
7db883e8b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue