diff options
-rw-r--r-- | lib/rainbows/rev/core.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/rev/core.rb b/lib/rainbows/rev/core.rb index 472182a..eaff2c6 100644 --- a/lib/rainbows/rev/core.rb +++ b/lib/rainbows/rev/core.rb @@ -1,6 +1,8 @@ # -*- encoding: binary -*- require 'rev' Rev::VERSION >= '0.3.0' or abort 'rev >= 0.3.0 is required' +if IO::Buffer.respond_to?(:default_node_size=) + IO::Buffer.default_node_size = Rev::IO::INPUT_SIZE require 'rainbows/rev/heartbeat' module Rainbows |