• 
      

    Avoid internal retry of jira class

    Review Request #11269 — Created Nov. 6, 2020 and submitted — Latest diff uploaded

    Information

    Review Board
    release-3.0.x
    dc8d1cc...

    Reviewers

    If the jira object cannot connect to jira it will
    try a re-connect after a period of time.
    This could lead to a timeout in a long running RB process
    of a WSGI server (like uwsgi).
    Let's disable internal retry of the jira class and let
    Review Board handle that.
    
    Error of jira class:
    Got recoverable error from GET https://jira.company.de/rest/api/2/issue/PROJECT-123, will retry [1/3] in 19.0767479194s. Err: 401

    Added the fix and saw that it fails immediately and don't block any process.