module Stream
Nested
Definitions
BLOCK_SIZE = ENV.fetch("IO_STREAM_BLOCK_SIZE", 1024*64).to_i
The default block size for IO buffers. Defaults to 64KB (typical pipe buffer size).
MAXIMUM_READ_SIZE = ENV.fetch("IO_STREAM_MAXIMUM_READ_SIZE", BLOCK_SIZE * 128).to_i
The maximum read size when appending to IO buffers. Defaults to 8MB.