l.s.g.DuplicateSessionPruner(SessionPruner) : class documentation

Part of lp.scripts.garbo View In Hierarchy

Remove all but the most recent 6 authenticated sessions for a user.

We sometimes see users with dozens or thousands of authenticated sessions. To limit exposure to replay attacks, we remove all but the most recent 6 of them for a given user.

Inherited from BulkPruner (via SessionPruner):

Method getStore The master Store for the table we are pruning.
Method __init__ Undocumented
Method isDone See ITunableLoop.
Method __call__ See ITunableLoop.
Method cleanUp See ITunableLoop.

Inherited from TunableLoop (via SessionPruner, BulkPruner):

Method run Undocumented
API Documentation for Launchpad, generated by pydoctor at 2020-04-01 00:00:17.