Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14728

Change Hot Rod client default timeouts and retries

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • None
    • Hot Rod
    • None

      Our Hot Rod client has some default configurations which are absurd:

      socket timeout: 60 seconds
      connection timeout: 60 seconds
      retries: 10
      min_evictable_idle_time: 30 minutes
      all of the above are too high

      I suggest the following defaults instead:

      socket timeout: 2 seconds
      connection timeout: 2 seconds
      retries: 3
      min_evictable_idle_time: 3 minutes

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: