Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49314

Allow configurable readTimeout for jira-steps-plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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();
      

       

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: