1
0
mirror of https://github.com/rclone/rclone.git synced 2025-03-28 12:42:08 +02:00
Nick Craig-Wood cf0bf159ab s3: try to keep the maximum precision in ModTime with --user-server-modtime
Before this change if --user-server-modtime was in use the ModTime
could change for an object as we receive it accurate to the nearest ms
in listings, but only accurate to the nearest second in HEAD and GET
requests.

Normally AWS returns the milliseconds as .000 in listings, but if
versions are in use it may not. Storj S3 also seems to return
milliseconds.

This patch tries to keep the maximum precision in the last modified
time, so it doesn't update a last modified time with a truncated
version if the times were the same to the nearest second.

See: https://forum.rclone.org/t/cache-fingerprint-miss-behavior-leading-to-false-positive-stalen-cache/33404/
2022-10-12 09:18:10 +01:00
..
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 10:23:29 +02:00
2022-06-29 17:30:37 +01:00
2022-08-30 11:16:26 +02:00
2022-08-30 10:23:29 +02:00
2022-09-14 16:45:35 +01:00
2022-08-30 10:23:29 +02:00
2022-10-10 07:58:01 +01:00
2022-08-30 10:23:29 +02:00
2022-08-30 11:16:26 +02:00