mirror of
https://github.com/flarum/framework.git
synced 2025-03-01 21:54:27 +08:00
Fix comment
This commit is contained in:
parent
cc9f0dcdb1
commit
8b157346df
@ -34,7 +34,7 @@ class CollectGarbage implements MiddlewareInterface
|
|||||||
private function collectGarbageSometimes()
|
private function collectGarbageSometimes()
|
||||||
{
|
{
|
||||||
// In order to save performance, we only execute this query
|
// In order to save performance, we only execute this query
|
||||||
// from time to time (with 50% chance).
|
// from time to time (with 2% chance).
|
||||||
if (! $this->hit()) {
|
if (! $this->hit()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user