Commit eaf6151
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: #8355
Updates: #20971 parent e966f64 commit eaf6151
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
186 | 200 | | |
187 | 201 | | |
188 | 202 | | |
| |||
213 | 227 | | |
214 | 228 | | |
215 | 229 | | |
216 | | - | |
217 | | - | |
218 | 230 | | |
219 | 231 | | |
220 | 232 | | |
| |||
0 commit comments