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

 ##########
 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:
   I would probably call this `DEFAULT_REFRESH_INTERVAL`

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to