benoitdm-oslandia / pg_featureserv

Apache License 2.0
1 stars 0 forks source link

Bug - Size parameter seems useless for stand-alone server cache (naive) #148

Open nrevelant opened 1 year ago

nrevelant commented 1 year ago

According to the current cache implementation (https://github.com/benoitdm-oslandia/pg_featureserv/commit/573c3ce4cffe36501162e5c60a99650dc98e7fe5) the naive cache size can be set.

But this do not seem to make sense as the naive data structure is base on a map. As in go language the map allocation is handled internally. Thus the optional capacity is only a hint and not a limitation.

This is the reason why the following paramters seem useless :