[infinispan-issues] [JBoss JIRA] (ISPN-2810) In REST, default values for maxIdleTimeSeconds and timeToLiveSeconds should be 0

Dan Berindei (JIRA) jira-events at lists.jboss.org
Fri Feb 8 11:17:51 EST 2013


Dan Berindei created ISPN-2810:
----------------------------------

             Summary: In REST, default values for maxIdleTimeSeconds and timeToLiveSeconds should be 0
                 Key: ISPN-2810
                 URL: https://issues.jboss.org/browse/ISPN-2810
             Project: Infinispan
          Issue Type: Feature Request
          Components: Remote protocols
    Affects Versions: 5.2.0.Final
            Reporter: Dan Berindei
            Assignee: Galder Zamarreño
             Fix For: 5.3.0.Alpha1


Contrary to what ISPN-732 says, timeToLiveSeconds=0 and maxIdleTimeSeconds=0 are now treated correctly by the server and the entry is stored in the cache with the default lifespan/maxIdle.

But if the user PUTs or POSTs an entry and doesn't specify timeToLiveSeconds=0 and maxIdleTimeSeconds=0 explicitly, the entries are stored with infinite lifespan/maxIdle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list