-
Notifications
You must be signed in to change notification settings - Fork 9
/
sosh-config-default.sh
38 lines (28 loc) · 1.04 KB
/
sosh-config-default.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Default local node configuration used if `$HOME/sosh-config.sh` does not
# exist.
#
# To customize:
# cp sosh-config-default.sh $HOME/sosh-config.sh
#
if [[ -z $SOSH_CLUSTER ]]; then
SOSH_CLUSTER=mainnet
fi
SOSH_GOSSIP_PORT=8000
## Force the performance governor
SOSH_PERFORMANCE_GOVERNOR=x
## Set a custom `--limit-ledger-size`
#SOSH_LIMIT_LEDGER_SIZE=5000000
## Specify `--accounts-index-memory-limit-mb` with this amount
# For 512GB RAM consider using `unset SOSH_ACCOUNTS_INDEX_MEMORY_LIMIT_MB`
SOSH_ACCOUNTS_INDEX_MEMORY_LIMIT_MB=10000
## Define a webhook for light notifications
#SOSH_SLACK_WEBHOOK=somewhere
## Run `xferid -f -f $SOSH_RESTART_XFERID_FAILOVER_HOSTNAME` on a restart if
# running `SOSH_CONFIG=primary` and `SOSH_CLUSTER=mainnet`.
#SOSH_RESTART_XFERID_FAILOVER_HOSTNAME=secondary-server-to-ssh-into
## Set rpc pubsub thread count to 0 if not using pubsub
SOSH_RPC_PUBSUB_NOTIFICATION_THREADS=0
SOSH_HEALTH_CHECK_SLOT_DISTANCE=300
## Do not require ~/solana point to a valid solana tree.
# SOSH_SKIP_SOLANA_SOURCE_CHECK=x