refactor: optimize memory usage of blaze

This commit is contained in:
Torben Brenner
2024-02-20 15:15:49 +01:00
parent 8854670f4d
commit 7d07c0623d
4 changed files with 15 additions and 3 deletions

View File

@ -50,6 +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
[ -e ./$PROJECT/vars ] && source ./$PROJECT/vars
set +a