-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes context handling to handle completion better
Changed the usage of contexts so that when the context is done, either by cancelation or timeout, the classifier finishes the files underway and abandons any remaining work. Tested this using a large file and a short context deadline, verifying that the initial set of files get handled, and subsequent files are properly abandoned since the context is completed.
- Loading branch information
Showing
1 changed file
with
44 additions
and
41 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