Skip to content

Commit

Permalink
Fixed read timeout issue #3169
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Jan 28, 2025
1 parent 00875c3 commit 78163de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grails-app/services/au/org/ala/merit/BdrService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BdrService {
String azureToken = getAzureAccessToken()

String bdrBaseUrl = grailsApplication.config.getProperty('bdr.api.url')
Integer readTimeout = grailsApplication.config.getInt('bdr.api.readTimeout', 60000)
Integer readTimeout = grailsApplication.config.getProperty('bdr.api.readTimeout', Integer, 60000)
format = URLEncoder.encode(format, 'UTF-8')
String url = bdrBaseUrl+'/cql?_mediatype='+format
String query = (dataSetQuery(dataSetId) as JSON).toString()
Expand Down

0 comments on commit 78163de

Please sign in to comment.