Have added option for either a background thread or per-request cleanup for SQL. Initially I thought this is out of scope for flask-session, but thought it might be worth to try. There have been some PRs for per-request cleanup but I thought this would have less desirable so also tried the threads option. It may be that we implement only that one.
Have added option for either a background thread or per-request cleanup for SQL. Initially I thought this is out of scope for flask-session, but thought it might be worth to try. There have been some PRs for per-request cleanup but I thought this would have less desirable so also tried the threads option. It may be that we implement only that one.