Skip to content

Commit 0d17196

Browse files
committed
Correct logging
1 parent fda9692 commit 0d17196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/jobs/label_and_taint_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ def perform(server_id)
2727

2828
break true if success
2929

30-
Rails.logger.warn "Attempt #{attempt + 1}/30: Waiting for #{server.name}. Output: #{stderr}. Retrying in 5 seconds..."
30+
Rails.logger.warn "Attempt #{attempt + 1}/60: Waiting for #{server.name}. Output: #{stderr}. Retrying in 5 seconds..."
3131
sleep 5 unless Rails.env.test?
3232
false
3333
end
3434

3535
unless server_present
36-
Rails.logger.error "Failed to confirm #{server.name} in the cluster after 30 attempts, aborting"
36+
Rails.logger.error "Failed to confirm #{server.name} in the cluster after 60 attempts, aborting"
3737
return
3838
end
3939

0 commit comments

Comments
 (0)