#Why is the redis cache not setting ttl?

1 messages · Page 1 of 1 (latest)

heavy marsh
#
 return this.cacheManager.set(
      `${this.blacklistTokenInitial}__${token}`,
      token,
      ttl ? ttl * 1000 : 0,
    );
obtuse arch
#

What's your cache-manager version? In c-m 4 the ttl is in seconds, in c-m 5 it's in milliseconds, maybe it's just expiring too fast?