-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(s3-batch-exports): Swap to asyncio s3 client
Temporal activities are not heartbeating. I believe this is because the heartbeat is spawning an async task, but since our code is not doing any await, we never yield the main thread for it to run the async task. By swapping to aioboto3 we now await on each upload part which should allow us to heartbeat while the part is uploaded.
- Loading branch information
1 parent
1832f4d
commit 16e5434
Showing
5 changed files
with
187 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.