rclone/backend/cache
Nick Craig-Wood 7bb8b8f4ba cache: fix bug after golang.org/x/time/rate update
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.
2022-04-04 20:35:17 +01:00
..
cache_internal_test.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
cache_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
cache_upload_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
cache.go cache: fix bug after golang.org/x/time/rate update 2022-04-04 20:35:17 +01:00
directory.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
handle.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
object.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
plex.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
storage_memory.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
storage_persistent.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
utils_test.go cache: move methods used for testing into test file 2020-03-16 18:41:32 +00:00