kourge-ch commented on issue #3276: NIFI-5953 Manage GetTwitter connection 
retries on '420 Enhance Your C…
URL: https://github.com/apache/nifi/pull/3276#issuecomment-475697725
 
 
   hi @ijokarumawak,
   
   That's correct, I was referring that piece of code from the Twitter HBC 
library. I agree with your analysis.
   
   We should not call `client.reconnect` for any `HTTP_ERROR` cases.
   But we can continue calling `client.reconnect` in case of `CONNECTION_ERROR` 
only.
   
   If you agree I can implement that change.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to