Skip to content

Commit

Permalink
changed default stop strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
pfaraone committed Aug 7, 2023
1 parent 8e0fc92 commit ffa7d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltacat/aws/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def retry_url(
def block_until_instance_metadata_service_returns_success(
retry_strategy=retry_if_retryable_http_status_code,
wait_strategy=wait_fixed(2), # wait 2 seconds before retrying,
stop_strategy=stop_after_delay(5), # stop trying after 10 minutes
stop_strategy=stop_after_delay(60 * 10), # stop trying after 10 minutes
url=INSTANCE_METADATA_SERVICE_IPV4_URI,
) -> Optional[Response]:
"""Blocks until the instance metadata service returns a successful response.
Expand Down

0 comments on commit ffa7d76

Please sign in to comment.