owntracks / recorder

Store and access data published by OwnTracks apps
Other
903 stars 123 forks source link

OTR_CLEAN_AGE default not correctly handled #500

Open ckrey opened 1 month ago

ckrey commented 1 month ago

Feature introduced with #447 in version 0.9.8

If OTR_CLEAN_AGE is not specified (default = 0) or explicitly set to zero, the cache entries are always considered out of date, which leads to unintended reverse geo queries.

The cache is effectively invalidated 😭

ckrey commented 1 month ago

As a workaround, add the following line to the configuration file (/etc/default/ot-recorder):

OTR_CLEAN_AGE=315360000

and restart ot-recorder