972cf3ba45
adds a cleanup mechanism for expired sessions to prevent memory leaks by deleting sessions and challenges that exceed the defined TTL. Each session is assigned a creation timestamp, which is updated upon activity, and the cleanup process runs every minute to maintain optimal memory usage.
13 KiB
13 KiB