mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
7bb8b8f4ba
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.