Closed GlauberF closed 2 years ago
I'm using redis as cache. package version: 2.4.2 Laravel ^7.22.4
my .env REDIS_HOST=redis REDIS_PASSWORD="1" REDIS_PORT=6379
my settings I have a standard model file which I extend to the other models. In this default file I define the settings below.
Even I set 1s(1000), for minutes to expire
records on redis
checking the ttl of a record
What I noticed is being saved without 1 second ttl specified in $cacheFor.
I'm using redis as cache. package version: 2.4.2 Laravel ^7.22.4
my .env REDIS_HOST=redis REDIS_PASSWORD="1" REDIS_PORT=6379
CACHE_TTL=-1
my settings I have a standard model file which I extend to the other models. In this default file I define the settings below.
Even I set 1s(1000), for minutes to expire
records on redis
checking the ttl of a record
What I noticed is being saved without 1 second ttl specified in $cacheFor.