mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 04:49:37 +02:00
Refactor batch processing in download-countries command for clarity and safety; enhance service wait function in installer script by removing unnecessary whitespace.
This commit is contained in:
parent
9eaaadc0f2
commit
575669aedf
2 changed files with 33 additions and 6 deletions
|
@ -484,7 +484,6 @@ wait_for_services() {
|
|||
|
||||
local max_attempts=30
|
||||
local attempt=1
|
||||
|
||||
while [ $attempt -le $max_attempts ]; do
|
||||
if curl -s -o /dev/null -w "%{http_code}" "$FRONTEND_ORIGIN" | grep -q "200\|404\|302"; then
|
||||
log_success "Frontend is responding"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue