mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
aafbf6bc15
Mainly the followin changes: - Pass majority of code to the old and plain synchronous style and start using virtual threads for the RPC (and partially some HTTP server middlewares). - Make some improvements on how CLIMIT is handled, simplifying code - Improve considerably performance reducing the reflection and unnecesary funcion calls on the whole stack-trace of an RPC call. - Improve efficiency reducing considerably the total threads number.
14 lines
426 B
Clojure
14 lines
426 B
Clojure
;; Example climit.edn file
|
|
;; Required: permits
|
|
;; Optional: queue, ommited means Integer/MAX_VALUE
|
|
;; Optional: timeout, ommited means no timeout
|
|
;; Note: queue and timeout are excluding
|
|
{:update-file-by-id {:permits 1 :queue 3}
|
|
:update-file {:permits 20}
|
|
|
|
:derive-password {:permits 8}
|
|
:process-font {:permits 4 :queue 32}
|
|
:process-image {:permits 8 :queue 32}
|
|
|
|
:submit-audit-events-by-profile
|
|
{:permits 1 :queue 3}}
|