gluon/package/gluon-status-page-api/files/lib/gluon/upgrade/500-status-page-api
Nils Schneider 014f5751c8 gluon-status-page-api: increase uhttp.max_requests to 32
Now that the status page api has been rewritten in C CPU load and memory
usage is much lower. Also, nodes with both ibss and 11s mesh and dual
band wifi may require up to 9 connections for a single client, thus the
previous limit of 12 seemed a little low.
2015-09-05 12:11:35 +02:00

16 lines
285 B
Bash
Executable File

#!/bin/sh
uci batch <<-EOF
delete uhttpd.main.listen_http
add_list uhttpd.main.listen_http=0.0.0.0:80
add_list uhttpd.main.listen_http=[::]:80
delete uhttpd.main.listen_https
set uhttpd.main.home=/lib/gluon/status-page/www
set uhttpd.main.max_requests=32
commit uhttpd
EOF