Skip to content

Commit

Permalink
VKT(Backend) Fix request timeout data type for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkkp committed Feb 17, 2025
1 parent 3119ec9 commit 9877f03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ private RequestBuilder defaultRequestBuilder() {
.addHeader("Accept", MediaType.APPLICATION_JSON_VALUE)
.addHeader("Content-Type", MediaType.APPLICATION_JSON_VALUE)
.addHeader("Caller-Id", Constants.CALLER_ID)
.setRequestTimeout((int) TimeUnit.MINUTES.toMillis(2));
.setRequestTimeout(TimeUnit.MINUTES.toChronoUnit().getDuration());
}
}

0 comments on commit 9877f03

Please sign in to comment.