couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [08/10] git commit: Raise default global_changes max_write_delay & max_event_delay to 500ms
Date Thu, 07 Aug 2014 16:01:10 GMT
Raise default global_changes max_write_delay & max_event_delay to 500ms

BugzID: 28257


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/a38e6360
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/tree/a38e6360
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/diff/a38e6360

Branch: refs/heads/windsor-merge
Commit: a38e63600a77471e1a95575acc2235ce20fe6636
Parents: db52f10
Author: robfraz <rob.frazier+github@cloudant.com>
Authored: Thu Feb 20 13:48:19 2014 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Aug 7 17:00:36 2014 +0100

----------------------------------------------------------------------
 src/global_changes_listener.erl | 2 +-
 src/global_changes_server.erl   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/a38e6360/src/global_changes_listener.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_listener.erl b/src/global_changes_listener.erl
index 1aa4ea4..d3e3d58 100644
--- a/src/global_changes_listener.erl
+++ b/src/global_changes_listener.erl
@@ -36,7 +36,7 @@ start() ->
 init(_) ->
     % get configs as strings
     UpdateDb0 = config:get("global_changes", "update_db", "true"),
-    MaxEventDelay0 = config:get("global_changes", "max_event_delay", "25"),
+    MaxEventDelay0 = config:get("global_changes", "max_event_delay", "500"),
 
     % make config strings into other data types
     UpdateDb = case UpdateDb0 of "false" -> false; _ -> true end,

http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/a38e6360/src/global_changes_server.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_server.erl b/src/global_changes_server.erl
index d30a319..058be46 100644
--- a/src/global_changes_server.erl
+++ b/src/global_changes_server.erl
@@ -46,7 +46,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