mbien commented on PR #6428:
URL: https://github.com/apache/netbeans/pull/6428#issuecomment-1712519360

   > 
   > > Might be good to extract the logic to a utility method and use it from 
both call sites.
   > 
   > Which logic? I would be wary of using the retry loop there, unless there's 
a check it's in the RP thread first.
   
   the call is known to randomly fail. If retry mitigates the issue it is worth 
to consider it there too. How often and with what delay can/should be tweaked 
once confirmed that this is fixing the issue.
   
   We should also check how long a failing call takes. Since a succeeding call 
can take ~100ms. So retry + sleep might take longer than expected. (maybe we 
have luck and a failing call returns immediately in which case we don#t have to 
worry about that)


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to