Skip to content

Commit

Permalink
v4.1.0: Add retry logic for 502s and GOAWAY frames
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyphu committed Nov 29, 2023
1 parent 42e421a commit 74e2d73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use [Warrant](https://warrant.dev/) in server-side Java projects.
### Gradle

```groovy
implementation group: 'dev.warrant', name: 'warrant-java', version: '4.0.0'
implementation group: 'dev.warrant', name: 'warrant-java', version: '4.1.0'
```

### Maven
Expand All @@ -19,7 +19,7 @@ implementation group: 'dev.warrant', name: 'warrant-java', version: '4.0.0'
<dependency>
<groupId>dev.warrant</groupId>
<artifactId>warrant-java</artifactId>
<version>4.0.0</version>
<version>4.1.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "dev.warrant"
version = "4.0.0"
version = "4.1.0"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/warrant/WarrantBaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import jakarta.ws.rs.core.UriBuilder;

public class WarrantBaseClient {
public static final String SDK_VERSION = "4.0.0";
public static final String SDK_VERSION = "4.1.0";
public static final String USER_AGENT = "warrant-java/" + SDK_VERSION;
public static final Integer MAX_RETRIES = 2;
public static final Duration MINIMUM_SLEEP_TIME = Duration.ofMillis(500);
Expand Down

0 comments on commit 74e2d73

Please sign in to comment.