DP-3T / dp3t-sdk-backend

The backend implementation for DP3T
Mozilla Public License 2.0
199 stars 87 forks source link

Clean up db by keydate #268

Open martinalig opened 4 years ago

martinalig commented 4 years ago

The DB cleanup is currently triggered every 60 minutes and cleans all keys based on the received_at timestamp using the configured rentention period.

This should be changed, that keys are removed based on the keydate. So keys with keydate older than the retention period should be removed.