summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_auth_cache.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_auth_cache.erl')
-rw-r--r--src/couchdb/couch_auth_cache.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_auth_cache.erl b/src/couchdb/couch_auth_cache.erl
index 0800d1ab..2fbc4f0e 100644
--- a/src/couchdb/couch_auth_cache.erl
+++ b/src/couchdb/couch_auth_cache.erl
@@ -336,7 +336,7 @@ cache_needs_refresh() ->
reopen_auth_db(AuthDb) ->
- case (catch gen_server:call(AuthDb#db.main_pid, get_db, infinity)) of
+ case (catch couch_db:reopen(AuthDb)) of
{ok, AuthDb2} ->
AuthDb2;
_ ->