soto-project / soto

Swift SDK for AWS that works on Linux, macOS and iOS
https://soto.codes
Apache License 2.0
868 stars 81 forks source link

Use `NIOThreadPool.singleton` instead of `.createNew` in multipart upload #695

Closed adam-fowler closed 9 months ago

adam-fowler commented 9 months ago

Looks like we have to do this on a background thread, as the first reference to .singleton will create it and if this isn't on a background thread we get a thread priority inversion warning.