//! Background tasks. A tiny runner that spawns one tokio task per
//! recurring job. Kept simple on purpose — we don't ship a cron
//! DSL, just "run this every N seconds".
use Duration;
use ;
use cratepurge_expired_sessions;
use crateDb;
/// Spin up the standard housekeeping tasks. Call this once during
/// app startup. Returns immediately — the tasks run forever.
/// Delete expired sessions every 10 minutes.