couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] chttpd commit: updated refs/heads/master to 5e3bf1f
Date Tue, 12 Jul 2016 13:59:16 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 9a59ca11a -> 5e3bf1f5e


Don't end changes feed listener on heartbeat

There's no need to end and restart the changes feed listener on every
heartbeat, so don't do that.

COUCHDB-3054


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/fc7287a9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/fc7287a9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/fc7287a9

Branch: refs/heads/master
Commit: fc7287a9eddca2f1d114853bc555b07c0a6ea3f8
Parents: 9a59ca1
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Jul 12 10:21:24 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Jul 12 12:04:49 2016 +0100

----------------------------------------------------------------------
 src/chttpd_auth_cache.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/fc7287a9/src/chttpd_auth_cache.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_auth_cache.erl b/src/chttpd_auth_cache.erl
index b676bf7..75d77e8 100644
--- a/src/chttpd_auth_cache.erl
+++ b/src/chttpd_auth_cache.erl
@@ -157,8 +157,8 @@ changes_callback({change, {Change}}, _) ->
             ets_lru:remove(?CACHE, UserName)
     end,
     {ok, couch_util:get_value(seq, Change)};
-changes_callback(timeout, EndSeq) ->
-    exit({seq, EndSeq});
+changes_callback(timeout, Acc) ->
+    {ok, Acc};
 changes_callback({error, _}, EndSeq) ->
     exit({seq, EndSeq}).
 


Mime
View raw message