Skip to content

Commit 322b434

Browse files
committed
perf: set gh run watch interval to 10 instead of default 3
1 parent f4d5fec commit 322b434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh/db_migration_wait.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ while [ -n "$RUNNING_DB_UPGRADE_WORKFLOW_ID" ]; do
3030
--jq ".[] | select(.databaseId==$RUNNING_DB_UPGRADE_WORKFLOW_ID) | .url" \
3131
--repo code-kern-ai/refinery-gateway)
3232
echo "Waiting for running db upgrade workflow to complete: $RUNNING_DB_UPGRADE_WORKFLOW_URL"
33-
gh run watch $RUNNING_DB_UPGRADE_WORKFLOW_ID --repo code-kern-ai/refinery-gateway 1> /dev/null
33+
gh run watch $RUNNING_DB_UPGRADE_WORKFLOW_ID --interval 10 --repo code-kern-ai/refinery-gateway 1> /dev/null
3434
fi
3535
done
3636

0 commit comments

Comments
 (0)