Skip to content

Commit

Permalink
[bsc] add upload stats, bump chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
voron committed Nov 7, 2023
1 parent c1a3003 commit 71de08c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dysnix/bsc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: bsc
description: Binance Smart Chain chart for Kubernetes
version: "0.6.28"
version: "0.6.29"
appVersion: "v1.2.4"

keywords:
Expand Down
4 changes: 2 additions & 2 deletions dysnix/bsc/templates/scripts/_sync_to_gcs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ ${S5CMD} cp updating "s3://${UPDATING_URL}"
# sync from local disk to cloud with removing existing [missing on local disk] files
# run multiple syncs in background
# sync is recursive by default, thus we need to exclude ancient data here
time ${S5CMD} --stat sync --delete ${EXCLUDE_ANCIENT} "${CHAINDATA_DIR}/" "s3://${STATE_DST}/" > cplist_state.txt &
time ${S5CMD} --stat --log error sync --delete ${EXCLUDE_ANCIENT} "${CHAINDATA_DIR}/" "s3://${STATE_DST}/" &
STATE_CP_PID=$!
time nice ${S5CMD} --stat sync --delete --part-size 200 --concurrency 2 ${EXCLUDE_STATE} "${CHAINDATA_DIR}/ancient/" "s3://${ANCIENT_DST}/" > cplist_ancient.txt &
time nice ${S5CMD} --stat --log error sync --delete --part-size 200 --concurrency 2 ${EXCLUDE_STATE} "${CHAINDATA_DIR}/ancient/" "s3://${ANCIENT_DST}/" &
ANCIENT_CP_PID=$!
# Wait for each specified child process and return its termination status
# errors are "handled" by "set -e"
Expand Down

0 comments on commit 71de08c

Please sign in to comment.