Browse Source

fix hardcoded values being wrong in loader.sh. TODO allow tunables to be set from environment.

master
root 1 month ago
parent
commit
3fc1c12930
2 changed files with 6 additions and 7 deletions
  1. +2
    -1
      assets/libloader.sh
  2. +4
    -6
      assets/loader.sh

+ 2
- 1
assets/libloader.sh View File

@ -2,7 +2,7 @@
#Tunables
TUN_SDK_DF_COUNT=40
TUN_SDK_DF_DBCNT=80
TUN_SDK_DF_DBCNT=60
TUN_SDK_PS_COUNT=15
TUN_SDK_PS_DBCNT=20
TUN_SDK_PL_COUNT=10
@ -133,6 +133,7 @@ role_sk_pull() {
enrich sg
export DB_POOL=$TUN_SDK_PL_DBCNT
CMD_RUN="$CMD_SDK -c $TUN_SDK_PL_COUNT -q pull"
}
role_sk_mail() {
enrich mastodon
enrich db

+ 4
- 6
assets/loader.sh View File

@ -3,12 +3,10 @@ if [ "x$DEBUG" != "x" ]; then set -x; fi
. /ldr/libloader.sh
#Tunables
TUN_SDK_DF_COUNT=70
TUN_SDK_DF_DBCNT=80
TUN_SDK_PP_COUNT=35
TUN_SDK_PP_DBCNT=45
TUN_SDK_ML_COUNT=8
TUN_SDK_ML_DBCNT=10
#TUN_SDK_DF_COUNT=70
#TUN_SDK_PS_COUNT=35
#TUN_SDK_PL_COUNT=45
#TUN_SDK_ML_COUNT=8
TUN_MAINT_CARDS_LIFETIME=60
TUN_MAINT_MEDIA_LIFETIME=7

Loading…
Cancel
Save