[infinispan-issues] [JBoss JIRA] (ISPN-2810) In REST, default values for maxIdleTimeSeconds and timeToLiveSeconds should be 0
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Thu Jun 20 03:41:21 EDT 2013
[ https://issues.jboss.org/browse/ISPN-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783181#comment-12783181 ]
Galder Zamarreño commented on ISPN-2810:
----------------------------------------
This is a valid point, but it's a bit late to start changing the REST protocol, and we'd need to see with Tristan about changing the protocol for the product.
> 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.Final
>
>
> 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