about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-04-30 01:49:52 +0000
committerEric Wong <normalperson@yhbt.net>2013-04-30 01:49:52 +0000
commitd5e6ab56efd5a3c538c8f31b120c0dff6dbcf38a (patch)
treea82f79c8d3ad247c1cdd8d4ccea995cff720ebae
parentb7221617908d5cd73da17c11beb7ef96b12e7fa5 (diff)
downloadsleepy_penguin-d5e6ab56efd5a3c538c8f31b120c0dff6dbcf38a.tar.gz
Frequently sending signals can lead to high memory usage and
slowdowns on some Ruby + malloc implementations.
-rw-r--r--test/test_epoll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_epoll.rb b/test/test_epoll.rb
index af70fa2..bdb550b 100644
--- a/test/test_epoll.rb
+++ b/test/test_epoll.rb
@@ -450,7 +450,7 @@ class TestEpoll < Test::Unit::TestCase
       trap(:USR1, "DEFAULT")
       sleep 0.1
       ppid = Process.ppid
-      nr.times { Process.kill(:USR1, ppid); sleep 0.01 }
+      nr.times { Process.kill(:USR1, ppid); sleep 0.05 }
       @wr.syswrite('.')
       exit!(0)
     end