OpenConext / OpenConext-deploy

Ansible-based deployment automation for the OpenConext platform
Apache License 2.0
12 stars 21 forks source link

TIQR: Add cleanup probability config option #404

Closed quartje closed 1 year ago

quartje commented 1 year ago

This allows you to set a probability that the database session cleanup is triggered. The default is set to 0.01 (so 1% probability)

thijskh commented 1 year ago

Probably better to do this periodically with a cronjob instead of via a probability on some random user’s login?

quartje commented 1 year ago

Yes, that is certainly better, but this is already in the code for now, and it works

quartje commented 1 year ago

closing this one, as it has been already commited