Skip to content

Commit

Permalink
set default TileDBClient read timeout to no-limit
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisStaratzis committed Jul 8, 2024
1 parent 337eb7e commit 49165e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/io/tiledb/cloud/TileDBClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ private void writeAuthJSONFileToHome() {
public TileDBClient(OkHttpClient client, TileDBLogin tileDBLogin){
apiClient = new ApiClient(client);
setClientCredentials(tileDBLogin);
setReadTimeout(0);
}

/**
Expand All @@ -215,6 +216,7 @@ public TileDBClient(OkHttpClient client, TileDBLogin tileDBLogin){
public TileDBClient(OkHttpClient client){
apiClient = new ApiClient(client);
setClientCredentials(new TileDBLogin());
setReadTimeout(0);
}

/**
Expand All @@ -225,6 +227,7 @@ public TileDBClient(OkHttpClient client){
public TileDBClient(TileDBLogin tileDBLogin){
apiClient = new ApiClient();
setClientCredentials(tileDBLogin);
setReadTimeout(0);
}

/**
Expand All @@ -234,6 +237,7 @@ public TileDBClient(TileDBLogin tileDBLogin){
public TileDBClient(){
apiClient = new ApiClient();
setClientCredentials(new TileDBLogin());
setReadTimeout(0);
}

/**
Expand All @@ -247,6 +251,7 @@ public TileDBClient(){
public TileDBClient(String basePath, String clientId, String clientSecret, Map<String, String> parameters){
apiClient = new ApiClient(basePath, clientId, clientSecret, parameters);
setClientCredentials(new TileDBLogin());
setReadTimeout(0);
}

/**
Expand All @@ -261,6 +266,7 @@ public TileDBClient(String basePath, String clientId, String clientSecret, Map<S
public TileDBClient(String basePath, String clientId, String clientSecret, Map<String, String> parameters, TileDBLogin tileDBLogin){
apiClient = new ApiClient(basePath, clientId, clientSecret, parameters);
setClientCredentials(tileDBLogin);
setReadTimeout(0);
}

/**
Expand Down

0 comments on commit 49165e2

Please sign in to comment.