mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +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…
Reference in New Issue
Block a user