about summary refs log tree commit homepage
path: root/lib/rainbows/rev.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-24 22:52:35 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-24 22:59:07 -0800
commit2bc6e7a3c4e972ee3227d931e79bc4057ba278ca (patch)
treeaeb9b673dd2012e156f5e6f05b920b08865544dd /lib/rainbows/rev.rb
parentcf504b527fa8ca2b612db1d7967a76536dc8347f (diff)
downloadrainbows-2bc6e7a3c4e972ee3227d931e79bc4057ba278ca.tar.gz
Due to the addition of keepalive_timeouts, it's safer to
pay a performance penalty and use a hash here instead.
Diffstat (limited to 'lib/rainbows/rev.rb')
-rw-r--r--lib/rainbows/rev.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb
index eed14f5..197d138 100644
--- a/lib/rainbows/rev.rb
+++ b/lib/rainbows/rev.rb
@@ -28,6 +28,9 @@ module Rainbows
     # keep-alive timeout scoreboard
     KATO = {}
 
+    # all connected clients
+    CONN = {}
+
     include Core
   end
 end