Golang Redis Golang扫描并删除Redis中没有设置过期时间的Key 在使用 Redis 做缓存时,会遇到一些没有设置过期时间的 Key,这些 Key 会一直存在于 Redis 中,导致 Redis 的内存占用越来越高,影响 Redis 的性能。