Repository navigation
Commit 353f12b
committed
Allow full-mark GC during request handling
With full marks suppressed in Puma workers, a full mark ran only when
Puma called the `out_of_band` hook on an idle worker, so a busy worker
could go a long time without one. In another of our apps, this setting
caused steady growth in old objects and memory.
Remove `GC.config(rgengc_allow_full_mark: false)`. The `out_of_band`
hook stays and still runs a major GC between requests when one is due.1 parent da4fb42 commit 353f12b
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
| 43 | + | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
0 commit comments