nested exception is io.lettuce.core.RedisCommandExecutionException: ERR invalid expire time in setex

临时所记

在使用 redis 缓存 token 时,为了提前将 token 过期,所以减了一个时间差,结果剪成负数了,就报如上错误。

 

本文由老郭种树原创,转载请注明:https://guozh.net/nested-exception-is-io-lettuce-core-rediscommandexecutionexception-err-invalid-expire-time-in-setex/

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注