filebackend: reduce hashing I/O in SwiftFileBackend::doStoreInternal()
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 8 Sep 2019 20:45:22 +0000 (13:45 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 16 Sep 2019 04:30:50 +0000 (21:30 -0700)
commit5b3ce5dc8c7981f2aa075b3aeee6c65fa577ac67
tree44d2b8c447d7a1f1a5d522c157901595629e383a
parent552d285184a2ba312700304c7e7414d567966bd9
filebackend: reduce hashing I/O in SwiftFileBackend::doStoreInternal()

Compute both hashes with one read of the local source file

Change-Id: I9679b50d99a46747a6606ca059ef0005ee1aaaa6
includes/libs/filebackend/SwiftFileBackend.php