diff options
Diffstat (limited to 'lib/raindrops/aggregate/pmq.rb')
-rw-r--r-- | lib/raindrops/aggregate/pmq.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raindrops/aggregate/pmq.rb b/lib/raindrops/aggregate/pmq.rb index 5a6a1f6..98d4169 100644 --- a/lib/raindrops/aggregate/pmq.rb +++ b/lib/raindrops/aggregate/pmq.rb @@ -153,7 +153,7 @@ class Raindrops::Aggregate::PMQ Marshal.load(synchronize(@rd, RDLOCK) do |rd| dst = StringIO.new dst.binmode - IO.copy_stream(rd, dst, rd.stat.size, 0) + IO.copy_stream(rd, dst, rd.size, 0) dst.string end) end |