diff --git a/http/upload_cache_redis.go b/http/upload_cache_redis.go index 9926eba2..9f2025bc 100644 --- a/http/upload_cache_redis.go +++ b/http/upload_cache_redis.go @@ -67,6 +67,8 @@ func (c *redisUploadCache) GetLength(filePath string) (int64, error) { return 0, fmt.Errorf("invalid upload length in cache: %w", err) } + c.Touch(filePath) + return size, nil }