couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [10/11] git commit: Raise default global_changes max_write_delay & max_event_delay to 500ms
Date Fri, 01 Aug 2014 12:06:11 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/11e82f68
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/tree/11e82f68
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/diff/11e82f68

Branch: refs/heads/windsor-merge
Commit: 11e82f684887028c8cf8181f8b40720d3837dccf
Parents: b226a24
Author: robfraz <rob.frazier+github@cloudant.com>
Authored: Thu Feb 20 13:48:19 2014 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Aug 1 13:03:55 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/11e82f68/src/global_changes_listener.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_listener.erl b/src/global_changes_listener.erl
index ccee705..95d8cd0 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/11e82f68/src/global_changes_server.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_server.erl b/src/global_changes_server.erl
index 966d866..fe9502c 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