couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r735817 - /couchdb/trunk/src/couchdb/couch_server.erl
Date Mon, 19 Jan 2009 21:07:27 GMT
Author: damien
Date: Mon Jan 19 13:07:26 2009
New Revision: 735817

URL: http://svn.apache.org/viewvc?rev=735817&view=rev
Log:
Fix for COUCHDB-215, we weren't properly converting a config setting to an integer.

Modified:
    couchdb/trunk/src/couchdb/couch_server.erl

Modified: couchdb/trunk/src/couchdb/couch_server.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_server.erl?rev=735817&r1=735816&r2=735817&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_server.erl (original)
+++ couchdb/trunk/src/couchdb/couch_server.erl Mon Jan 19 13:07:26 2009
@@ -123,7 +123,8 @@
     % will restart us and then we will pick up the new settings.
 
     RootDir = couch_config:get("couchdb", "database_dir", "."),
-    MaxDbsOpen = couch_config:get("couchdb", "max_open_databases", "100"),
+    MaxDbsOpen = list_to_integer(
+            couch_config:get("couchdb", "max_open_databases", "100")),
     Self = self(),
     ok = couch_config:register(
         fun("couchdb", "database_dir") ->



Mime
View raw message