How to change default timeout in EHRBase

I was launching more general AQLs, and I usually get timeouts if queries take longer than 30 seconds. Is there any way to change/specify that timeout time in the request itself or maybe change server configuration?

1 Like

already had the same problem when uploading a lot of data in via composition POSTs.

1 Like

Ehrbase uses Spring Boot and specifically the Spring boot Hikari connection pool so you can change the timeout as you can for any Spring boot application via Application properties.

spring. datasource. hikari. connection-timeout

See https://www.baeldung.com/spring-boot-hikari#hikari-configuration

You also might need to change the tomcat-timeout

server.tomcat.connection-timeout

4 Likes