This commit is contained in:
brentfraser 2020-04-26 09:37:04 -06:00
parent bba5cda46b
commit c5cd0e1c38

View file

@ -91,6 +91,6 @@ may want to add an index. For that, you should do so:
## Optimisations
To speed up uMap homepage rendering on a large instance, the following index can be added tas well (make sure you set the center to your default instance map center):
To speed up uMap homepage rendering on a large instance, the following index can be added as well (make sure you set the center to your default instance map center):
CREATE INDEX leaflet_storage_map_optim ON leaflet_storage_map (modified_at) WHERE ("leaflet_storage_map"."share_status" = 1 AND ST_Distance("leaflet_storage_map"."center", ST_GeomFromEWKT('SRID=4326;POINT(2 51)')) > 1000.0);