increased the bulk cache limit to 500, it can be manually increased up to 1000 safely
This commit is contained in:
parent
3e6dba7b66
commit
813f673d88
|
@ -20,7 +20,7 @@ module CouchRest
|
||||||
@uri = @root = "#{host}/#{name}"
|
@uri = @root = "#{host}/#{name}"
|
||||||
@streamer = Streamer.new(self)
|
@streamer = Streamer.new(self)
|
||||||
@bulk_save_cache = []
|
@bulk_save_cache = []
|
||||||
@bulk_save_cache_limit = 50
|
@bulk_save_cache_limit = 500 # must be smaller than the uuid count
|
||||||
end
|
end
|
||||||
|
|
||||||
# returns the database's uri
|
# returns the database's uri
|
||||||
|
|
Loading…
Reference in a new issue