refactor: tune configuration of blaze according to system memory

This commit is contained in:
Torben Brenner
2024-03-11 09:58:30 +01:00
parent eeb17e7bfe
commit e1e523f1ac
2 changed files with 17 additions and 4 deletions

View File

@ -50,7 +50,7 @@ loadVars() {
source /etc/bridgehead/$PROJECT.local.conf || fail_and_report 1 "Found /etc/bridgehead/$PROJECT.local.conf but failed to import"
fi
fetchVarsFromVaultByFile /etc/bridgehead/$PROJECT.conf || fail_and_report 1 "Unable to fetchVarsFromVaultByFile"
setBlazeMemoryCap
optimizeBlazeMemoryUsage
[ -e ./$PROJECT/vars ] && source ./$PROJECT/vars
set +a