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

            chriswhite199 Chris White created issue -
            chriswhite199 Chris White made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            chriswhite199 Chris White made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            drogers Dave Rogers made changes -
            Link This issue is blocked by JENKINS-49996 [ JENKINS-49996 ]
            nrayapati Naresh Rayapati made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            nrayapati Naresh Rayapati made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              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: