[infinispan-issues] [JBoss JIRA] Issue Comment Edited: (ISPN-1285) Cache entries stored via Hot Rod client with default expiry remain in cache

Martin Gencur (JIRA) jira-events at lists.jboss.org
Wed Aug 3 12:33:06 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618572#comment-12618572 ] 

Martin Gencur edited comment on ISPN-1285 at 8/3/11 12:32 PM:
--------------------------------------------------------------

I see, so when I want the default values set inside Infinispan xml config file to take effect, I have to send headers ToLiveSeconds and maxIdleTimeSeconds set to 0, right? But this is not intuitive. I would presume that when I don't send any http headers the default values will be used (those set in xml config file) because in the xml config file we override defaults => we set new default, IMO.

      was (Author: mgencur):
    I see, so when I want the default values set inside Infinispan xml config file to take effect, I have to send headers ToLiveSeconds and maxIdleTimeSeconds set to 0, right? But this is not intuitive. I would presume that when I don't send any http headers the default values will be used (those set in xml config file).
  
> Cache entries stored via Hot Rod client with default expiry remain in cache
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-1285
>                 URL: https://issues.jboss.org/browse/ISPN-1285
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 5.0.0.CR8
>            Reporter: Martin Gencur
>            Assignee: Galder Zamarreño
>             Fix For: 5.0.0.FINAL
>
>
> Default values for expiration specified via Infinispan configuration file (tag <expiration lifespan="2000" maxIdle="1000" />) do not influence real lifespan of cache entries stored via the Hot Rod client.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list