mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-06-06 08:00:13 +08:00
refactor(background): enhance BackgroundTask and VisualRecognitionTaskProcessor structure and logging
This commit is contained in:
@@ -17,11 +17,7 @@ namespace Foxel.Services.Background.Processors
|
||||
public int? UserIdForPicture { get; set; }
|
||||
}
|
||||
|
||||
public class VisualRecognitionPayload // Define new payload
|
||||
{
|
||||
public int PictureId { get; set; }
|
||||
public int? UserIdForPicture { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class PictureTaskProcessor : ITaskProcessor
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user