Actions
Support #1445
closedHow to clean the sessions table in mysql
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:
Description
our sessions table in mysql is about 800MB, i wonder if there is a way to clean it?
Updated by Ohad Levy about 13 years ago
- Status changed from New to Closed
sure, see here: https://github.com/ohadlevy/puppet-foreman/blob/master/foreman/manifests/config.pp#L41
or just do
rake db:sessions:clear RAILS_ENV=production
Actions