Skip to content

Commit

Permalink
Further increase retries to fetch store version after creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Dec 13, 2023
1 parent 86cf1a2 commit 87d176c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app_store/connect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def create_app_store_version(version, build)

log "Creating app store version with ", {body: body}
api.tunes_request_client.post("appStoreVersions", body)
execute_with_retry(AppStore::VersionNotFoundError, sleep_seconds: 15, max_retries: 8) do
execute_with_retry(AppStore::VersionNotFoundError, sleep_seconds: 15, max_retries: 10) do
log("Fetching the created app store version")
inflight_version = app.get_edit_app_store_version(includes: VERSION_DATA_INCLUDES)
raise VersionNotFoundError unless inflight_version
Expand Down

0 comments on commit 87d176c

Please sign in to comment.