couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [1/2] couchdb-global-changes git commit: Rollback change in default value for max_write_delay config
Date Wed, 22 Feb 2017 20:21:37 GMT
Repository: couchdb-global-changes
Updated Branches:
  refs/heads/master f6e4c5629 -> 4aa1fc4b2


Rollback change in default value for max_write_delay config

The default for `global_change:max_write_delay` config was changed from
500 to 25 and is causing performance regression. Reverting this change
back to 500 is resulting in improved performance.

COUCHDB-3304


Project: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/commit/8cf4896f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/tree/8cf4896f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/diff/8cf4896f

Branch: refs/heads/master
Commit: 8cf4896ff421898ea5d93de170ab8fbcbd317f4e
Parents: f6e4c56
Author: brkolla <bkolla@cloudant.com>
Authored: Mon Feb 20 13:11:01 2017 -0500
Committer: brkolla <bkolla@cloudant.com>
Committed: Mon Feb 20 14:01:58 2017 -0500

----------------------------------------------------------------------
 src/global_changes_server.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/8cf4896f/src/global_changes_server.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_server.erl b/src/global_changes_server.erl
index 70a4f25..7e30625 100644
--- a/src/global_changes_server.erl
+++ b/src/global_changes_server.erl
@@ -54,7 +54,7 @@ init([]) ->
     {ok, Handler} = global_changes_listener:start(),
     % get configs as strings
     UpdateDb0 = config:get("global_changes", "update_db", "true"),
-    MaxWriteDelay0 = config:get("global_changes", "max_write_delay", "25"),
+    MaxWriteDelay0 = config:get("global_changes", "max_write_delay", "500"),
 
     % make config strings into other data types
     UpdateDb = case UpdateDb0 of "false" -> false; _ -> true end,


Mime
View raw message