diff options
author | Christopher Guiney <chris@guiney.net> | 2012-06-29 06:53:12 +0200 |
---|---|---|
committer | Christopher Guiney <chris@guiney.net> | 2012-06-29 06:53:12 +0200 |
commit | 68b9b822b674e9f98025165a9391110a33f1b094 (patch) | |
tree | 5041531ee915f90e4f3065b6e3bed2695cfd139d /application/config | |
parent | 7db0f597c78cd5485b566d9cd6e3935a8489c540 (diff) |
Allow session garbace collection percentage to be configured.
Diffstat (limited to 'application/config')
-rw-r--r-- | application/config/config.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php index 726e3a71c..e3f87eb42 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -276,6 +276,7 @@ $config['encryption_key'] = ''; | 'sess_match_ip' = Whether to match the user's IP address when reading the session data | 'sess_match_useragent' = Whether to match the User Agent when reading the session data | 'sess_time_to_update' = how many seconds between CI refreshing Session Information +| 'gc_probability' = percent chance that stale sessions to be deleted | */ $config['sess_cookie_name'] = 'ci_session'; @@ -287,6 +288,7 @@ $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 300; +$config['gc_probability'] = 5; /* |-------------------------------------------------------------------------- |