Add graceful shutdown

This commit is contained in:
2026-03-03 06:00:52 +00:00
parent 119862d7ed
commit 2edb290563
5 changed files with 94 additions and 18 deletions

View File

@@ -122,3 +122,8 @@ func (s *RedisStore) Size() int {
return count
}
// Close closes the Redis client connection.
func (s *RedisStore) Close() error {
return s.client.Close()
}