mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 03:29:36 +00:00
uhttpd: disable concurrent requests by default
In order to avoid straining CPU and memory resources on lower end devices, avoid running multiple CGI requests in parallel. Ref: https://forum.openwrt.org/t/high-load-fix-on-openwrt-luci/29006 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
a3ccac6b1d
commit
c6aa9ff388
@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uhttpd
|
PKG_NAME:=uhttpd
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uhttpd.git
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uhttpd.git
|
||||||
|
@ -24,7 +24,7 @@ config uhttpd main
|
|||||||
# If this number is exceeded, further requests are
|
# If this number is exceeded, further requests are
|
||||||
# queued until the number of running requests drops
|
# queued until the number of running requests drops
|
||||||
# below the limit again.
|
# below the limit again.
|
||||||
option max_requests 3
|
option max_requests 1
|
||||||
|
|
||||||
# Maximum number of concurrent connections.
|
# Maximum number of concurrent connections.
|
||||||
# If this number is exceeded, further TCP connection
|
# If this number is exceeded, further TCP connection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user