mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:46:30 +00:00
fix datasetexplorer view
save annotation with detections fix sending to queue
This commit is contained in:
@@ -118,14 +118,7 @@ public partial class App
|
||||
services.AddSingleton<VLCFrameExtractor>();
|
||||
services.AddSingleton<IDbFactory, DbFactory>();
|
||||
|
||||
services.AddHttpClient<AzaionApiClient>((sp, client) =>
|
||||
{
|
||||
var apiConfig = sp.GetRequiredService<IOptions<ApiConfig>>().Value;
|
||||
client.BaseAddress = new Uri(apiConfig.Url);
|
||||
client.Timeout = TimeSpan.FromSeconds(apiConfig.TimeoutSeconds);
|
||||
});
|
||||
|
||||
services.AddSingleton<FailsafeAnnotationsProducer>();
|
||||
services.AddSingleton<FailsafeAnnotationsProducer>();
|
||||
|
||||
services.AddSingleton<AnnotationService>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user