8.3 Wrap full pipeline in lock
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
e1c35d7423
commit
d6ebf89468
3 files changed
+33
-21
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using FrameProcessor.Concurrency;
|
||||
using FrameProcessor.Configuration;
|
||||
using FrameProcessor.ImagePipeline;
|
||||
using FrameProcessor.Middleware;
|
||||
@@ -44,6 +45,7 @@ builder.Services.AddSingleton<IImagePipeline, FrameProcessor.ImagePipeline.Image
|
||||
builder.Services.AddSingleton<ImageStore>();
|
||||
builder.Services.AddSingleton<MqttPublisher>();
|
||||
builder.Services.AddHostedService(sp => sp.GetRequiredService<MqttPublisher>());
|
||||
builder.Services.AddSingleton<FrameLockProvider>();
|
||||
|
||||
builder.Services.AddHttpClient<IImageUrlFetcher, ImageUrlFetcher>((sp, client) =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user