mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 23:45:40 +08: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.