mirror of
https://github.com/penpot/penpot.git
synced 2025-02-02 04:19:08 -05:00
✨ Use penpot own executor for s3 response completion executor
This commit is contained in:
parent
4299fd28f0
commit
8616e2f25c
1 changed files with 2 additions and 3 deletions
|
@ -186,9 +186,8 @@
|
||||||
(Region/of (name region)))
|
(Region/of (name region)))
|
||||||
|
|
||||||
(defn- build-s3-client
|
(defn- build-s3-client
|
||||||
[{:keys [::region ::endpoint ::io-threads]}]
|
[{:keys [::region ::endpoint ::io-threads ::wrk/executor]}]
|
||||||
(let [executor (px/resolve-executor :virtual)
|
(let [aconfig (-> (ClientAsyncConfiguration/builder)
|
||||||
aconfig (-> (ClientAsyncConfiguration/builder)
|
|
||||||
(.advancedOption SdkAdvancedAsyncClientOption/FUTURE_COMPLETION_EXECUTOR executor)
|
(.advancedOption SdkAdvancedAsyncClientOption/FUTURE_COMPLETION_EXECUTOR executor)
|
||||||
(.build))
|
(.build))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue