Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 4f348d0

Browse files
committed
chore: 修改脚本等待时间
1 parent d2a7988 commit 4f348d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/check_travellings_cn_project.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Periodic Check travellings-cn-Project expiration domain
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '0 21 * * *'
6+
- cron: '0 18 * * *'
77

88
jobs:
99
build:
@@ -32,11 +32,11 @@ jobs:
3232
python src/main.py -o ~/builds/target/output.txt -e ~/builds/target/error.txt -id sync_query
3333
- name: Check and Retry Error Status Domain
3434
run: |
35-
max_retries=15
35+
max_retries=20
3636
retries=0
3737
while [ -s ~/builds/target/error.txt ] && [ $retries -lt $max_retries ]; do
38-
echo "Sleeping for 600 seconds before retrying"
39-
sleep 600
38+
echo "Sleeping for 600*$retries seconds before retrying"
39+
sleep $((600 * retries))
4040
echo "Retrying $retries+1 of $max_retries"
4141
mv ~/builds/target/error.txt ~/builds/temp/error.txt
4242
python src/main.py -i ~/builds/temp/error.txt -o ~/builds/target/output.txt -e ~/builds/target/error.txt -id sync_query

0 commit comments

Comments
 (0)