Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim old sessions regularly #35

Open
robertauer opened this issue Jan 28, 2020 · 0 comments
Open

Trim old sessions regularly #35

robertauer opened this issue Jan 28, 2020 · 0 comments

Comments

@robertauer
Copy link
Member

robertauer commented Jan 28, 2020

From https://www.redmineup.com/pages/help/getting-started/how-to-fix-cookiesoverflow-error :
Note: To avoid your sessions table expanding without limit as it will store expired and potentially sensitive session data, it is strongly recommended in production environments to schedule the db:sessions:trim rake task to run daily. Running bin/rake db:sessions:trim will delete all sessions that have not been updated in the last 30 days. The 30 days cutoff can be changed using the SESSION_DAYS_TRIM_THRESHOLD environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant