|
@@ -108,7 +108,7 @@ |
|
|
block discarded – undo |
|
108
|
108
|
|
|
109
|
109
|
// If we got lot's of time and it's been a while since last GC collect let's run a garbage collector |
|
110
|
110
|
// cycle this iteration. |
|
111
|
|
- if ($delay > $cycleTime/2 && $lastGcTime < (time() - $gcCycleTime)) { |
|
|
111
|
+ if ($delay > $cycleTime / 2 && $lastGcTime < (time() - $gcCycleTime)) { |
|
112
|
112
|
// PHP does this automatically as well but in some mysterious ways it can sometimes keep in memory |
|
113
|
113
|
// hundred of mb's before running it. |
|
114
|
114
|
gc_collect_cycles(); |
Please login to merge, or discard this patch.