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().
owslib.csw.CatalogueServiceWeb
has atimeout
parameter. However,ckanext.spatial.lib.OwsService
only callsCatalogueServiceWeb
with theurl
parameter;timeout
is not exposed, as far as I can see.I'd like to introduce an optional
timeout
parameter tolib.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.