[ 
https://issues.apache.org/jira/browse/GEODE-10097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507222#comment-17507222
 ] 

ASF subversion and git services commented on GEODE-10097:
---------------------------------------------------------

Commit 75c586677c946c47241c06771b53ed18313f9ffc in geode's branch 
refs/heads/support/1.15 from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=75c5866 ]

GEODE-10097: Avoid Thread.sleep for reauthentication in MessageDispatcher 
(#7416)


(cherry picked from commit 2554f42b925f2b9b8ca7eee14c7a887436b1d9db)


> Do not use Thread.sleep in MessageDispatcher for re-authentication feature
> --------------------------------------------------------------------------
>
>                 Key: GEODE-10097
>                 URL: https://issues.apache.org/jira/browse/GEODE-10097
>             Project: Geode
>          Issue Type: Improvement
>          Components: client queues, client/server
>            Reporter: Jinmei Liao
>            Priority: Major
>              Labels: GeodeOperationAPI, pull-request-available
>
> MessageDispatcher uses Thread.sleep and wakes up intervals to recheck 
> authorization to see if new subject has re-logged in or not, if not, it will 
> call "authorize" again and again till timeout. Suggest using "wait/notify" 
> mechanism to wait for the subject to be updated, this way we don't use 
> Thread.sleep and not place unnecessary calls to the security manager.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to