quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.36k stars 2.56k forks source link

Cache Extension lifespan and maxidle behaviour #41675

Open karesti opened 4 days ago

karesti commented 4 days ago

Describe the bug

When we don't provide any lifespan and maxidle, the default expiration configuration maxidle and lifespan configured in the cache should be used, if such exist. Providing -1, will ignore configuration values.

Expected behavior

If Quarkus users don't configure any expiration, the defaults of the cache should be applied. The workaround today is to set up the same values in config of the quarkus app

Actual behavior

Defaults are ignored

quarkus-bot[bot] commented 4 days ago

/cc @gwenneg (cache)

karesti commented 4 days ago

@gwenneg this is an infinispan cache extension issue only