Skip to content

Commit

Permalink
Increase artifacts availability check timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubuid committed Jul 29, 2024
1 parent cb6e6a1 commit 1f3c158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ fun waitForArtifactsToBeAvailable() {
println("Checking: https://repo1.maven.org/maven2/com/walletconnect/$repoId/$version/")
"https://repo1.maven.org/maven2/com/walletconnect/$repoId/$version/"
}
val maxRetries = 20
val maxRetries = 40
var attempt = 0
val availableRepos = mutableSetOf<String>()

Expand Down Expand Up @@ -283,7 +283,7 @@ fun waitForArtifactsToBeAvailable() {
if (availableRepos.size < repoIds.size) {
println("Waiting for artifacts to be available... Attempt: ${attempt + 1}")
attempt++
Thread.sleep(10000) // Wait for 10 seconds before retrying
Thread.sleep(45000) // Wait for 10 seconds before retrying
}
}

Expand Down

0 comments on commit 1f3c158

Please sign in to comment.