1
mirror of https://github.com/rclone/rclone synced 2024-12-23 14:23:44 +01:00
rclone/fs/cache
Nick Craig-Wood d0f8b4f479 fs/cache: fix recreation of backends after they have expired
Before this change, on the first attempt to create a backend we used a
non-canonicalized string. When the backend expired the second attempt
to create it would use the canonicalized string (because it was in the
remap cache) which would fail because it was now `name{XXXX}:`

This change makes sure that whenever we create a backend we always use
the non-canonicalized string.

See: https://forum.rclone.org/t/connection-string-inconsistencies-on-beta/23171
2021-03-30 18:46:30 +01:00
..
cache_test.go fs/cache: add --fs-cache-expire-duration to control the fs cache 2021-03-30 12:46:47 +01:00
cache.go fs/cache: fix recreation of backends after they have expired 2021-03-30 18:46:30 +01:00