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

Expiration settings not applied to entries stored via CLI

XMLWordPrintable

      Data stored via CLI does not seem to get container expiration settings applied. E.g.

      For a server side configuration like this:

      <local-cache name="shay" start="EAGER">
        <expiration lifespan="1000" max-idle="1000"/>
      </local-cache>
      

      Storing it and retrieving it always returns the entry, no matter how long it's waited:

      [disconnected /] connect
      [standalone@localhost:9990 /] cd subsystem=infinispan/cache-container=local
      [standalone@localhost:9990 cache-container=local] cache shay
      [standalone@localhost:9990 local-cache=shay] put a a1
      [standalone@localhost:9990 local-cache=shay] get a
      a1
      ...
      [standalone@localhost:9990 local-cache=shay] get a
      a1
      

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: