0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

💄 Fix logging level on rpc climit ns

This commit is contained in:
Andrey Antukh 2024-02-05 20:10:57 +01:00
parent 8231890ee4
commit 275c8b5860

View file

@ -45,7 +45,7 @@
[{:keys [::wrk/executor]}]
(letfn [(on-remove [key _ cause]
(let [[id skey] key]
(l/dbg :hint "disposed" :id (id->str id skey) :reason (str cause))))]
(l/trc :hint "disposed" :id (id->str id skey) :reason (str cause))))]
(cache/create :executor executor
:on-remove on-remove
:keepalive "5m")))
@ -86,7 +86,7 @@
(defn- create-limiter
[config [id skey]]
(l/dbg :hint "created" :id (id->str id skey))
(l/trc :hint "created" :id (id->str id skey))
(pbh/create :permits (or (:permits config) (:concurrency config))
:queue (or (:queue config) (:queue-size config))
:timeout (:timeout config)