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

Cannot set timeout for stash

XMLWordPrintable

      There is no configuration for timeouts. It is required in case a stash host responses too long for REST requests.

      Currently the values are hardcoded in

      public class StashApiClient {
      
        // Connection timeout: maximum time for connecting to the HTTP server.
        private static final int HTTP_CONNECTION_TIMEOUT_SECONDS = 15;
      
        // Socket timeout: maximum period of inactivity between two data packets
        // arriving to the client once the connection is established.
        private static final int HTTP_SOCKET_TIMEOUT_SECONDS = 30;
      

      This task is to expose these parameters as plugin configuration fields.

            jbochenski Jakub Bochenski
            java_coder Java Coder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: