Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/fraggle/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ def walk(rev, path, off=0, lim=MaxInt64, ents=[], &blk)
end

def all(m, rev, path, off, lim, ents=[], &blk)
# We're decrementing lim as we go, so we need to return
# the accumulated values
if lim == 0
cn.next_tick { blk.call([], nil) }
cn.next_tick { blk.call(ents, nil) }
return
end

Expand Down