From 813f673d880d8494c5e3512c0e831e96a7b1163c Mon Sep 17 00:00:00 2001 From: Matt Aimonetti Date: Thu, 5 Mar 2009 15:06:56 -0800 Subject: [PATCH] increased the bulk cache limit to 500, it can be manually increased up to 1000 safely --- lib/couchrest/core/database.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchrest/core/database.rb b/lib/couchrest/core/database.rb index 43dc749..067e885 100644 --- a/lib/couchrest/core/database.rb +++ b/lib/couchrest/core/database.rb @@ -20,7 +20,7 @@ module CouchRest @uri = @root = "#{host}/#{name}" @streamer = Streamer.new(self) @bulk_save_cache = [] - @bulk_save_cache_limit = 50 + @bulk_save_cache_limit = 500 # must be smaller than the uuid count end # returns the database's uri