]> git.openstreetmap.org Git - rails.git/commitdiff
Only shut down the current process when the memory limit is reached
authorTom Hughes <tom@compton.nu>
Sun, 19 Dec 2010 00:15:24 +0000 (00:15 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 19 Dec 2010 00:15:24 +0000 (00:15 +0000)
Contrary to what the ruby documentation says, sending a signal
to PID 0 actually signals the whole process group, not just the
current process. So use Process.pid to make sure we only signal
the current process.


No differences found