mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-16 10:47:35 +08:00
feat(task-processor): implement PictureTaskProcessor for background image processing tasks
This commit is contained in:
@@ -14,6 +14,7 @@ using Foxel.Services.Media;
|
||||
using Foxel.Services.Storage;
|
||||
using Foxel.Services.Storage.Providers;
|
||||
using Foxel.Services.VectorDB;
|
||||
using Foxel.Services.Background.Processors;
|
||||
|
||||
namespace Foxel.Extensions;
|
||||
|
||||
@@ -38,6 +39,7 @@ public static class ServiceCollectionExtensions
|
||||
services.AddSingleton<CosStorageProvider>();
|
||||
services.AddSingleton<WebDavStorageProvider>();
|
||||
services.AddSingleton<IStorageService, StorageService>();
|
||||
services.AddSingleton<PictureTaskProcessor>();
|
||||
services.AddSingleton<IDatabaseInitializer, DatabaseInitializer>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user