ckanext-spatial icon indicating copy to clipboard operation
ckanext-spatial copied to clipboard

Specifying timeout for a CswService

Open knudmoeller opened this issue 6 years ago • 0 comments

owslib.csw.CatalogueServiceWeb has a timeout parameter. However, ckanext.spatial.lib.OwsService only calls CatalogueServiceWeb with the url parameter; timeout is not exposed, as far as I can see.

I'd like to introduce an optional timeout parameter to lib.OwsService / lib.CswService. The default would be 10, harvesters.CSWHarvester could change this in _setup_csw_client().

I could submit a PR to do implement this.

knudmoeller avatar Nov 27 '17 13:11 knudmoeller