Skip to content

Commit

Permalink
Merge pull request #137 from pdowler/master
Browse files Browse the repository at this point in the history
cadc-tap: disable retry when executing sync tap query
  • Loading branch information
pdowler authored Dec 10, 2022
2 parents 9b90955 + 49e1cc1 commit baa26ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cadc-tap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply from: '../opencadc.gradle'
sourceCompatibility = 1.8

group = 'org.opencadc'
version = '1.1.12'
version = '1.1.13'

description = 'OpenCADC TAP-1.1 tap client library'
def git_url = 'https://github.com/opencadc/tap'
Expand Down
1 change: 1 addition & 0 deletions cadc-tap/src/main/java/org/opencadc/tap/TapClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ private E objectQueryImpl(String query, TapRowMapper<E> mapper)
String jobID = getJobID(syncURL, execURL);

HttpGet exec = new HttpGet(execURL, true);
exec.setMaxRetries(0); // can only hit this URL once
exec.setConnectionTimeout(connectionTimeout);
exec.setReadTimeout(readTimeout);
try {
Expand Down

0 comments on commit baa26ed

Please sign in to comment.