Allow configurable readTimeout for jira-steps-plugin

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: jira-steps-plugin
    • None

      We have a particularly slow JIRA instance which often takes more than 10 seconds to respond to certain queries (such as reading the transitions metadata for an issue).

      Can i propose that the readTimeout on the http client for the jira-steps-plugin be configurable, in a similar way that the connection timeout currently is:

      Github link to code

       

      OkHttpClient httpClient = new OkHttpClient.Builder()
        .connectTimeout(jiraSite.getTimeout(), TimeUnit.MILLISECONDS)
        .readTimeout(10000, TimeUnit.MILLISECONDS).connectionPool(CONNECTION_POOL)
        .retryOnConnectionFailure(true).addInterceptor(new SigningInterceptor(jiraSite)).build();
      

       

       

            Assignee:
            Naresh Rayapati
            Reporter:
            Chris White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: