about summary refs log tree commit homepage
path: root/lib/dtas
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-01-02 04:20:54 +0000
committerEric Wong <e@80x24.org>2017-01-02 04:20:54 +0000
commitee92073d8d2d48eb7f070a8542430a7d5177e6bd (patch)
treed93daa6fad51a69caebd410fa0748bafedc47a90 /lib/dtas
parent1eb248f6cff5290de7c5abff5d42288615e37d2a (diff)
downloaddtas-ee92073d8d2d48eb7f070a8542430a7d5177e6bd.tar.gz
We do not need it at runtime, only for testing on Linux-like
systems
Diffstat (limited to 'lib/dtas')
-rw-r--r--lib/dtas/buffer/splice.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dtas/buffer/splice.rb b/lib/dtas/buffer/splice.rb
index 60cc921..1cb0fbc 100644
--- a/lib/dtas/buffer/splice.rb
+++ b/lib/dtas/buffer/splice.rb
@@ -10,7 +10,6 @@ require_relative '../pipe'
 module DTAS::Buffer::Splice # :nodoc:
   MAX_AT_ONCE = 4096 # page size in Linux
   MAX_AT_ONCE_1 = 65536
-  MAX_SIZE = File.read("/proc/sys/fs/pipe-max-size").to_i
   F_MOVE = IO::Splice::F_MOVE
 
   def buffer_size