You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/26 21:47:12 UTC

[GitHub] nickva commented on a change in pull request #1619: Implement replicator forced session refresh

nickva commented on a change in pull request #1619: Implement replicator forced session refresh
URL: https://github.com/apache/couchdb/pull/1619#discussion_r236439678
 
 

 ##########
 File path: src/couch_replicator/src/couch_replicator_auth_session.erl
 ##########
 @@ -79,9 +79,11 @@
 -type headers() :: [{string(), string()}].
 -type code() :: non_neg_integer().
 -type creds() :: {string() | undefined, string() | undefined}.
-
+-type age() :: non_neg_integer() | undefined.
+-type time_sec() :: non_neg_integer().
 
 -define(MIN_UPDATE_INTERVAL, 5).
+-define(REFRESH_INTERVAL, 550).
 
 Review comment:
   Good call. Even should add _sec as a suffix maybe.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services