default page size of 2000 in key_reduce
This commit is contained in:
parent
ebfda803c8
commit
9787c5830a
|
@ -20,7 +20,7 @@ module CouchRest
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def key_reduce(view, count, firstkey = nil, lastkey = nil, &block)
|
def key_reduce(view, count=2000, firstkey = nil, lastkey = nil, &block)
|
||||||
# start with no keys
|
# start with no keys
|
||||||
startkey = firstkey
|
startkey = firstkey
|
||||||
# lastprocessedkey = nil
|
# lastprocessedkey = nil
|
||||||
|
|
Loading…
Reference in a new issue