Changes between Initial Version and Version 1 of Ticket #18978, comment 16


Ignore:
Timestamp:
Oct 27, 2012, 5:34:13 AM (12 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18978, comment 16

    initial v1  
    55There hasn't been an obvious need for a more generic cleanup mechanism over the last five years. Designing one would be a new feature. This should be done separately from this bugfix. (IMHO it's much better to keep separate management commands because they may profit from being run at different times, on different servers, etc.)
    66
    7 It isn't useful to provide two different ways to achieve exactly the same effect; for this reason `daily_cleanup.py` should be removed rather than documented.
     7It isn't useful to provide two different ways to achieve exactly the same effect; for this reason the undocumented and legacy `daily_cleanup.py` script should be removed rather than documented.
    88
    99Finally, there's the question of clearing expired sessions in backends other than the database backend. This means pushing the clean up logic inside the backends, like the latest pull request does. This doesn't make sense with the cookie backend — data is stored by the clients. This isn't doable with the cache backend because we can't iterate over all keys — cache might handle its own expiration. This only leaves the file backend, which is tracked by #18194.
Back to Top