Correct handling of TTL for Redis
If TTL is 0 the 'ex' flag is not setting the key as it would instantly expire. To create a key without TTL we need to omit the 'ex' flag.
Loading
Please sign in to comment
If TTL is 0 the 'ex' flag is not setting the key as it would instantly expire. To create a key without TTL we need to omit the 'ex' flag.