about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-03-01 23:29:00 +0000
committerEric Wong <normalperson@yhbt.net>2013-03-01 23:29:00 +0000
commit2a39832fdbf8054c514562735b1ab6c6544065fe (patch)
tree935e35508308339dbbb49314b0094dcea8124f28
parent4be3e386118969345ee5c94049efa7faae338e4d (diff)
downloadrainbows-2a39832fdbf8054c514562735b1ab6c6544065fe.tar.gz
Via private communication, I learned of a user using XEpoll
when he should not have been.
-rw-r--r--lib/rainbows/epoll.rb2
-rw-r--r--lib/rainbows/xepoll.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb
index a711186..4fbf9ba 100644
--- a/lib/rainbows/epoll.rb
+++ b/lib/rainbows/epoll.rb
@@ -19,6 +19,8 @@ require 'sendfile'
 # small enough to always be in your kernel page cache.  This concurrency
 # model may starve clients if you have slow disks and large static files.
 #
+# Do not use this if you have slow external dependencies.
+#
 # === RubyGem Requirements
 #
 # * raindrops 0.6.0 or later
diff --git a/lib/rainbows/xepoll.rb b/lib/rainbows/xepoll.rb
index a7f9d8c..1ba64f6 100644
--- a/lib/rainbows/xepoll.rb
+++ b/lib/rainbows/xepoll.rb
@@ -7,6 +7,8 @@ require 'rainbows/epoll'
 # for Ruby 1.9 users as it can avoid accept()-scalability issues on
 # multicore machines with many worker processes.
 #
+# Do not use this if you have slow external dependencies.
+#
 # === RubyGem Requirements
 #
 # * raindrops 0.6.0 or later