default page size of 2000 in key_reduce
This commit is contained in:
parent
ebfda803c8
commit
9787c5830a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module CouchRest
|
|||
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
|
||||
startkey = firstkey
|
||||
# lastprocessedkey = nil
|
||||
|
|
Loading…
Reference in a new issue