mirror of
https://github.com/rclone/rclone
synced 2025-04-04 22:25:31 +02:00

Before this change the cache backend was passing -1 into rate.NewLimiter to mean unlimited transactions per second. In a recent update this immediately returns a rate limit error as might be expected. This patch uses rate.Inf as indicated by the docs to signal no limits are required.