File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 22Note: you may refer to ` README.md ` for description of features.
33
44## Dev (WIP)
5+ - Added slight delays in the file & database evictor to reduce cache stampeding
56- Fixed inaccurate "directories removed" statistics for the file evictor
67
78## 2.0.8 (2025-10-04)
Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ public function execute(): void
9494 // items really expired with no new updates
9595 $ this ->deletedRecords += $ rowsAffected ;
9696 }
97+
98+ // reduce stampeding
99+ usleep (1000 );
97100 }
98101
99102 // report results:
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ public function execute(): void
7070 if (@rmdir ($ localPath )) {
7171 $ this ->deletedDirs ++;
7272 }
73+
74+ // reduce stampeding
75+ usleep (1000 );
7376 }
7477
7578 $ progressBar ->finish ();
You can’t perform that action at this time.
0 commit comments