mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-18 10:10:35 -04:00
* Add option to set the number of Starman workers
This commit is contained in:
3
start.sh
3
start.sh
@@ -45,4 +45,5 @@ echo "Selected PERL5LIB=$PERL5LIB";
|
||||
# --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 --preload-app bin/ledgersmb-server.psgi
|
||||
|
||||
exec starman --port 5762 --workers ${LSMB_WORKERS:-5} --preload-app bin/ledgersmb-server.psgi
|
||||
|
Reference in New Issue
Block a user