Closed Mecharyry closed 5 years ago
❌ DO NOT MERGE AT THE MOMENT ❌ I need to do some CI work before we merge this.
@Mecharyry is CI work still needed for this? Would be great to have this merged in & released!! 🙏
@ouchadam thanks for reminding me about this! All done now.
Problem
As detailed in #491, sometimes clients need to process small requests quickly to avoid performance issues where a batch has a lot of small files to process.
Solution
As a workaround, until we investigate having parallel head requests for the file sizes we have opted to add an
Optional
FileSize
to the initial batch builder. If specified then the head requests will be ignored. This is potentially dangerous, if the size is incorrect the batch will fail during the download. We are leaving this to the clients.Screen Capture
On incorrect size specified