onaio / fhir-gateway-extension

This repo holds the OpenSRP permissions checker and data access checker
Other
0 stars 1 forks source link

Make the HttpClient Timeouts Configurable #27

Open bennsimon opened 7 months ago

bennsimon commented 7 months ago

It seems some projects would need to customize the httpclient timeouts based on number of records they have. For example, the SID project seems to have a lot of locations and fetching them lead to timeout errors. A temporary fix (hard-coded) was done here.

These configurations need to be available for modifications, preferably by system environment variables. The FHIRContext used for http requests on the plugin might need to be modified.

bennsimon commented 7 months ago

linked to https://github.com/onaio/infrastructure/pull/7669