mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
✨ Remove usage of multipart body size config on backend
This commit is contained in:
parent
dd856ecf50
commit
1b8afccba2
@ -28,8 +28,8 @@
|
|||||||
com.google.guava/guava {:mvn/version "33.4.8-jre"}
|
com.google.guava/guava {:mvn/version "33.4.8-jre"}
|
||||||
|
|
||||||
funcool/yetti
|
funcool/yetti
|
||||||
{:git/tag "v11.8"
|
{:git/tag "v11.9"
|
||||||
:git/sha "1d1b33f"
|
:git/sha "5fad7a9"
|
||||||
:git/url "https://github.com/funcool/yetti.git"
|
:git/url "https://github.com/funcool/yetti.git"
|
||||||
:exclusions [org.slf4j/slf4j-api]}
|
:exclusions [org.slf4j/slf4j-api]}
|
||||||
|
|
||||||
|
|||||||
@ -98,7 +98,6 @@
|
|||||||
[:http-server-port {:optional true} ::sm/int]
|
[:http-server-port {:optional true} ::sm/int]
|
||||||
[:http-server-host {:optional true} :string]
|
[:http-server-host {:optional true} :string]
|
||||||
[:http-server-max-body-size {:optional true} ::sm/int]
|
[:http-server-max-body-size {:optional true} ::sm/int]
|
||||||
[:http-server-max-multipart-body-size {:optional true} ::sm/int]
|
|
||||||
[:http-server-io-threads {:optional true} ::sm/int]
|
[:http-server-io-threads {:optional true} ::sm/int]
|
||||||
[:http-server-max-worker-threads {:optional true} ::sm/int]
|
[:http-server-max-worker-threads {:optional true} ::sm/int]
|
||||||
|
|
||||||
|
|||||||
@ -42,8 +42,8 @@
|
|||||||
(def default-params
|
(def default-params
|
||||||
{::port 6060
|
{::port 6060
|
||||||
::host "0.0.0.0"
|
::host "0.0.0.0"
|
||||||
::max-body-size 31457280 ; default 30 MiB
|
::max-body-size 367001600 ; default 350 MiB
|
||||||
::max-multipart-body-size 367001600}) ; default 350 MiB
|
})
|
||||||
|
|
||||||
(defmethod ig/expand-key ::server
|
(defmethod ig/expand-key ::server
|
||||||
[k v]
|
[k v]
|
||||||
@ -56,7 +56,6 @@
|
|||||||
[::io-threads {:optional true} ::sm/int]
|
[::io-threads {:optional true} ::sm/int]
|
||||||
[::max-worker-threads {:optional true} ::sm/int]
|
[::max-worker-threads {:optional true} ::sm/int]
|
||||||
[::max-body-size {:optional true} ::sm/int]
|
[::max-body-size {:optional true} ::sm/int]
|
||||||
[::max-multipart-body-size {:optional true} ::sm/int]
|
|
||||||
[::router {:optional true} [:fn r/router?]]
|
[::router {:optional true} [:fn r/router?]]
|
||||||
[::handler {:optional true} ::sm/fn]])
|
[::handler {:optional true} ::sm/fn]])
|
||||||
|
|
||||||
@ -79,7 +78,7 @@
|
|||||||
{:http/port port
|
{:http/port port
|
||||||
:http/host host
|
:http/host host
|
||||||
:http/max-body-size (::max-body-size cfg)
|
:http/max-body-size (::max-body-size cfg)
|
||||||
:http/max-multipart-body-size (::max-multipart-body-size cfg)
|
:http/max-multipart-body-size (::max-body-size cfg)
|
||||||
:xnio/direct-buffers false
|
:xnio/direct-buffers false
|
||||||
:xnio/io-threads (::io-threads cfg)
|
:xnio/io-threads (::io-threads cfg)
|
||||||
:xnio/max-worker-threads (::max-worker-threads cfg)
|
:xnio/max-worker-threads (::max-worker-threads cfg)
|
||||||
|
|||||||
@ -226,11 +226,10 @@
|
|||||||
::http/server
|
::http/server
|
||||||
{::http/port (cf/get :http-server-port)
|
{::http/port (cf/get :http-server-port)
|
||||||
::http/host (cf/get :http-server-host)
|
::http/host (cf/get :http-server-host)
|
||||||
::http/router (ig/ref ::http/router)
|
|
||||||
::http/io-threads (cf/get :http-server-io-threads)
|
::http/io-threads (cf/get :http-server-io-threads)
|
||||||
::http/max-worker-threads (cf/get :http-server-max-worker-threads)
|
::http/max-worker-threads (cf/get :http-server-max-worker-threads)
|
||||||
::http/max-body-size (cf/get :http-server-max-body-size)
|
::http/max-body-size (cf/get :http-server-max-body-size)
|
||||||
::http/max-multipart-body-size (cf/get :http-server-max-multipart-body-size)
|
::http/router (ig/ref ::http/router)
|
||||||
::mtx/metrics (ig/ref ::mtx/metrics)}
|
::mtx/metrics (ig/ref ::mtx/metrics)}
|
||||||
|
|
||||||
::ldap/provider
|
::ldap/provider
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user