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

REST server is treating timeToLiveSeconds=0 inconsistently

    XMLWordPrintable

Details

    Description

      The REST server currently handles 0 values for timeToLiveSeconds and maxIdleTimeSeconds like this:

      timeToLiveSeconds maxIdleTimeSeconds used lifespan used maxIdle
      0 0 default from config default from config
      nothing or >0 0 whatever came or -1 default from config
      0 nothing or >0 literally 0(entry expires immediately) whatever came or -1

      After discussion with Galder, the last line doesn't really make sense, and the better way would be to use default for timeToLive as well.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              jmarkos Jakub Markos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: