Expand description
Scheduled tasks for the database.
Constants§
- CLEANUP_
INTERVAL 🔒 - How often the deleted maps are cleaned up in seconds.
Functions§
- cleanup_
layers - Permanently remove deleted layers older than 1 day from the database.
TODO: increase time in the future
Runs every
CLEANUP_INTERVAL
seconds. - cleanup_
maps - Permanently remove deleted maps older than 30 days from the database.
Runs every
CLEANUP_INTERVAL
seconds.