debop / hibernate-redis

hibernate 2nd level cache privder using redis
Apache License 2.0
358 stars 182 forks source link

2.x doesn't seem to take in the expirySeconds into account. #51

Closed Chaos907 closed 8 years ago

Chaos907 commented 8 years ago

I tried using the following config with the expiryInSeconds set to 7200 (2 hrs) but it's still expiring in 1 minute. I am using 2.x along with hibernate 5.1.0.FINAL.

Belong is my hibernate-redis.xml

########################################################## #

properities for hibernate-redis

# ##########################################################

Redisson configuration file

redisson-config=conf/redisson.yaml

Cache Expiry settings

'hibernate5' is second cache prefix

'common', 'account' is actual region name

redis.expiryInSeconds.default=7200 redis.expiryInSeconds.hibernate5.common=7200

debop commented 8 years ago

Oh! it was milliseconds ... I will fix it at 2.0.1

debop commented 8 years ago

@Chaos907 fix it 2.0.1