increased the bulk cache limit to 500, it can be manually increased up to 1000 safely

This commit is contained in:
Matt Aimonetti 2009-03-05 15:06:56 -08:00
parent 3e6dba7b66
commit 813f673d88

View file

@ -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