File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929 }
3030
3131 ACTION=$([ "${FORCE_RELEASE}" == "true" ] && echo "force-release" || echo "release")
32- RESPONSE=$(curl -s --retry 5 -o response.json -w "%{http_code}" -X POST "https://mutexbot.com/api/resources/global/${RESOURCE_NAME}/${ACTION}" \
32+ RESPONSE=$(curl -s --retry 15 --retry-delay 2 -o response.json -w "%{http_code}" -X POST "https://mutexbot.com/api/resources/global/${RESOURCE_NAME}/${ACTION}" \
3333 -H "X-API-KEY: ${API_KEY}" \
3434 -H "Content-Type: application/json" \
3535 -d "{}")
Original file line number Diff line number Diff line change 3737 }
3838
3939 while true; do
40- RESPONSE=$(curl -s --retry 5 -o response.json -w "%{http_code}" -X POST "https://mutexbot.com/api/resources/global/${RESOURCE_NAME}/reserve" \
40+ RESPONSE=$(curl -s --retry 15 --retry-delay 2 -o response.json -w "%{http_code}" -X POST "https://mutexbot.com/api/resources/global/${RESOURCE_NAME}/reserve" \
4141 -H "X-API-KEY: ${API_KEY}" \
4242 -H "Content-Type: application/json" \
4343 -d "${PAYLOAD}")
You can’t perform that action at this time.
0 commit comments