-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: fix queue lock blocking when multiple threads are running
This would cause the program to process every image sequentailly, as the next thread would wait for the lock while the image processed or saved. We fix that by dropping the locks before beginning processing
- Loading branch information
Showing
1 changed file
with
68 additions
and
42 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