fix: Only setting maximum heap size for heroku deployed instances (#12725)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
This commit is contained in:
parent
9219545879
commit
c37fdb9f1c
|
|
@ -224,12 +224,13 @@ if [[ -z "${DYNO}" ]]; then
|
||||||
# Don't run MongoDB if running in a Heroku dyno.
|
# Don't run MongoDB if running in a Heroku dyno.
|
||||||
init_mongodb
|
init_mongodb
|
||||||
init_replica_set
|
init_replica_set
|
||||||
|
else
|
||||||
|
# These functions are used to limit heap size for Backend process when deployed on Heroku
|
||||||
|
get_maximum_heap
|
||||||
|
setup_backend_heap_arg
|
||||||
fi
|
fi
|
||||||
mount_letsencrypt_directory
|
mount_letsencrypt_directory
|
||||||
check_redis_compatible_page_size
|
check_redis_compatible_page_size
|
||||||
# These functions are used to limit heap size for Backend process when deployed on Heroku
|
|
||||||
get_maximum_heap
|
|
||||||
setup_backend_heap_arg
|
|
||||||
configure_supervisord
|
configure_supervisord
|
||||||
|
|
||||||
CREDENTIAL_PATH="/etc/nginx/passwords"
|
CREDENTIAL_PATH="/etc/nginx/passwords"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user