-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move parts about creating
DbContext
and transaction from method `…
…(Metadata|Martix)Consumer.Consume()` to `ImagePipelineWorker.DoWork()` for ensuring only commit the transaction after all consumers finish * make method `Consume()` being static since no other class member exists @ MetadataConsumer.cs - `DbContext` dependencies and ctor @ class `(Matrix|Hash|Ocr)Consumer` - unnessracy invoking `IQueryable.AsNoTracking()` on `DbSet` in serverside evaluated where expression @ `ImagePipelineWorker.ImageBatchGenerator()` @ c#/imagePipeline
- Loading branch information
Showing
5 changed files
with
21 additions
and
45 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
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
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