ckanext-spatial
ckanext-spatial copied to clipboard
Specifying timeout for a CswService
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.