-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi,
I know that this importer is being integrated in geonode itself but i think the problem is the same, I noticed that the import process is getting slower and slower the more data there is in the geoserver catalog (with my setup, roughly 1000 layers results in 60seconds per layer import, no SSD).
From the geoserver log I see that there is a request made on each stores in the workspace of geoserver.
I think that this is due to the sanity_check phase of the publisher, as it makes request over all stores of geoserver with all possible names to check for srid.
https://github.com/GeoNode/geonode-importer/blob/master/importer/publisher.py#L75
As the publish_resources makes a call to geoserver-restconfig function : create_coveragestore, which returns the created resource, maybe we can avoid the sanity check over all the stores ?