mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
31fabb3402
Pikpak can accelerate file uploads by leveraging existing content in its storage (identified by a custom hash called gcid). Previously, file transfer statistics were incorrect for uploads without outbound traffic as the input stream remained unchanged. This commit addresses the issue by: * Removing unnecessary unwrapping/wrapping of accountings before/after gcid calculation, leading immediate AccountRead() on buffering. * Correctly tracking file transfer statistics for uploads with no incoming/outgoing traffic by marking them as Server Side Copies. This change ensures correct statistics tracking and improves overall user experience. |
||
---|---|---|
.. | ||
api | ||
helper.go | ||
pikpak_test.go | ||
pikpak.go |