linz / basemaps

NZ’s authoritative and open digital basemap service for LINZ and the public.
https://basemaps.linz.govt.nz
Other
93 stars 17 forks source link

fix(lambda-tiler): do not keep failed tiffs in memory #3331

Closed blacha closed 2 months ago

blacha commented 2 months ago

Motivation

when requests fail, sometimes they can be retried later and succeed, right now we are caching the error state.

Modifications

On error remove the cached tiff/tar from the cache

Verification

added unit tests.