Skip to content

Commit

Permalink
Naming consistency with other cron jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Mar 27, 2024
1 parent 93da87a commit ddc5539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/grest-helper-scripts/grest-poll.sh
Expand Up @@ -149,7 +149,7 @@ function chk_cache_status() {
[[ -z "${GENESIS_JSON}" ]] && GENESIS_JSON="${PARENT}"/../files/shelley-genesis.json
epoch_length=$(jq -r .epochLength "${GENESIS_JSON}" 2>/dev/null)
if [[ ${epoch_slot} -ge $(( epoch_length / 6 )) ]]; then
if [[ "${last_actvstake_epoch}" != "${epoch}" ]]; then
if [[ ${last_actvstake_epoch} -lt ${epoch} ]]; then
log_err "Active Stake cache for epoch ${epoch} still not populated as of ${epoch_slot} slot, maximum tolerance was $(( epoch_length / 6 )) !!"
optexit
fi
Expand Down
6 changes: 3 additions & 3 deletions scripts/grest-helper-scripts/setup-grest.sh
Expand Up @@ -165,9 +165,9 @@ SGVERSION=v1.1.1rc
set_cron_variables "asset-info-cache-update"
install_cron_job "asset-info-cache-update" "*/2 * * * *"

get_cron_job_executable "cli_protocol_params-update"
set_cron_variables "cli_protocol_params-update"
install_cron_job "cli_protocol_params-update" "*/2 * * * *"
get_cron_job_executable "cli-protocol-params-update"
set_cron_variables "cli-protocol-params-update"
install_cron_job "cli-protocol-params-update" "*/5 * * * *"

# Only (legacy) testnet and mainnet asset registries supported
# In absence of official messaging, current (soon to be reset) preprod/preview networks use same registry as testnet. TBC - once there is an update from IO on these
Expand Down

0 comments on commit ddc5539

Please sign in to comment.