mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-21 11:40:31 -04:00
* Add option to set the number of Starman workers
This commit is contained in:
6
start.sh
6
start.sh
@@ -28,4 +28,8 @@ fi
|
||||
#fi
|
||||
|
||||
# start ledgersmb
|
||||
exec starman --port 5762 --preload-app tools/starman.psgi
|
||||
# --preload-app allows application initialization to kill the entire
|
||||
# starman instance (instead of just the worker, which will immediately
|
||||
# get restarted); it also has a positive effect on memory use
|
||||
|
||||
exec starman --port 5762 --workers ${LSMB_WORKERS:-5} --preload-app bin/ledgersmb-server.psgi
|
||||
|
Reference in New Issue
Block a user