Commit b9d2053
committed
Delete expired session files when there is no traffic
Most HTTP requests create a file in the sessions directory. Open browsers
call "/misc/cleanup" every five minutes, but session files can accumulate
after browsers are closed.
Wake periodically to delete expired sessions according to the
CHECK_SESSION_FILES_INTERVAL setting.
Fixes: #1999
Fixes: #83551 parent 660a9b0 commit b9d2053
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
159 | 173 | | |
160 | 174 | | |
161 | 175 | | |
| |||
0 commit comments