feat: make GCS artifact service async under the hood#1347
feat: make GCS artifact service async under the hood#1347condorcet wants to merge 3 commits intogoogle:mainfrom
Conversation
|
Could you resolve the failing checks? |
|
Thanks! I will actualize request soon |
f5b2321 to
af0c5e8
Compare
|
@DeanChensj done |
DeanChensj
left a comment
There was a problem hiding this comment.
From @Jacksunwei :
asyncio provides a thread-pool-based mechanism for this. We don't need to manage thread pool executor for us.
Let's use asyncio.to_thread approach instead.
In this case we won't be able to configure executor (e.g. number of workers). Under the hood Also So, WDYT will it be acceptable for us don't have ability to configure executor? |
|
I think it's fine. |
41471d7 to
64d872a
Compare
|
@Jacksunwei @DeanChensj done. Now we use |
|
This PR is merged in 81e0d40 |
Merge google#1347 Fixes issue google#1346 COPYBARA_INTEGRATE_REVIEW=google#1347 from condorcet:async_gcs_artifact_storage 3efee5a PiperOrigin-RevId: 785488472
Merge google#1347 Fixes issue google#1346 COPYBARA_INTEGRATE_REVIEW=google#1347 from condorcet:async_gcs_artifact_storage 3efee5a PiperOrigin-RevId: 785488472
Fixes issue #1346