jinmeiliao commented on a change in pull request #6835:
URL: https://github.com/apache/geode/pull/6835#discussion_r708720202
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/MessageDispatcher.java
##########
@@ -335,10 +356,14 @@ protected void runDispatcher() {
logger.debug("{}: Beginning to process events", this);
}
+ long reAuthenticateWaitTime =
+ getSystemProperty(RE_AUTHENTICATE_WAIT_TIME,
DEFAULT_RE_AUTHENTICATE_WAIT_TIME);
+
ClientMessage clientMessage = null;
+ long wait_for_re_auth_start_time = -1;
Review comment:
It has to be outside of the `while` loop. The same message will be
processed by multiple loops if authentication expired and user hasn't
re-authenticated back.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]