mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 22:06:11 +02:00
💄 Fix logging level on rpc climit ns
This commit is contained in:
parent
8231890ee4
commit
275c8b5860
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@
|
||||||
[{:keys [::wrk/executor]}]
|
[{:keys [::wrk/executor]}]
|
||||||
(letfn [(on-remove [key _ cause]
|
(letfn [(on-remove [key _ cause]
|
||||||
(let [[id skey] key]
|
(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
|
(cache/create :executor executor
|
||||||
:on-remove on-remove
|
:on-remove on-remove
|
||||||
:keepalive "5m")))
|
:keepalive "5m")))
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
(defn- create-limiter
|
(defn- create-limiter
|
||||||
[config [id skey]]
|
[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))
|
(pbh/create :permits (or (:permits config) (:concurrency config))
|
||||||
:queue (or (:queue config) (:queue-size config))
|
:queue (or (:queue config) (:queue-size config))
|
||||||
:timeout (:timeout config)
|
:timeout (:timeout config)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue