mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Merge branch 'searxng:master' into master
This commit is contained in:
commit
faf96ccd78
136 changed files with 1344 additions and 721 deletions
|
|
@ -177,6 +177,7 @@ main() {
|
|||
|
||||
case $1 in
|
||||
--getenv) var="$2"; echo "${!var}"; exit 0;;
|
||||
--cmd) shift; "$@";;
|
||||
-h|--help) usage; exit 0;;
|
||||
install)
|
||||
sudo_or_exit
|
||||
|
|
|
|||
|
|
@ -47,6 +47,9 @@ plugin = python
|
|||
# default behaviour is for performance reasons.
|
||||
enable-threads = true
|
||||
|
||||
# Number of workers (usually CPU count)
|
||||
workers = ${UWSGI_WORKERS:-%k}
|
||||
threads = ${UWSGI_THREADS:-4}
|
||||
|
||||
# plugin: python
|
||||
# --------------
|
||||
|
|
|
|||
|
|
@ -47,6 +47,9 @@ plugin = python
|
|||
# default behaviour is for performance reasons.
|
||||
enable-threads = true
|
||||
|
||||
# Number of workers (usually CPU count)
|
||||
workers = ${UWSGI_WORKERS:-%k}
|
||||
threads = ${UWSGI_THREADS:-4}
|
||||
|
||||
# plugin: python
|
||||
# --------------
|
||||
|
|
|
|||
|
|
@ -50,6 +50,9 @@ plugin = python3,http
|
|||
# default behaviour is for performance reasons.
|
||||
enable-threads = true
|
||||
|
||||
# Number of workers (usually CPU count)
|
||||
workers = ${UWSGI_WORKERS:-%k}
|
||||
threads = ${UWSGI_THREADS:-4}
|
||||
|
||||
# plugin: python
|
||||
# --------------
|
||||
|
|
|
|||
|
|
@ -50,6 +50,9 @@ plugin = python3,http
|
|||
# default behaviour is for performance reasons.
|
||||
enable-threads = true
|
||||
|
||||
# Number of workers (usually CPU count)
|
||||
workers = ${UWSGI_WORKERS:-%k}
|
||||
threads = ${UWSGI_THREADS:-4}
|
||||
|
||||
# plugin: python
|
||||
# --------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue