-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid storing all snapshots in memory
Summary: glass-snapshot could OOM if asked to process many files, because currently we compute all snapshots first, then upload them to XDB To prevent issues, let's parallelize snapshot computation and upload, and use a bounded queue in between to ensure we don't end up with too many snapshots in memory Reviewed By: nhawkes Differential Revision: D51148352 fbshipit-source-id: 7a43aa9f229c7301d4ecb26e222a22db6553ab8a
- Loading branch information
1 parent
a54f054
commit dbabb92
Showing
1 changed file
with
89 additions
and
64 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