视觉设备判定记录

This commit is contained in:
2024-06-21 15:38:47 +08:00
parent b522a27ee9
commit 4de491e331
3 changed files with 23 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ public class Startup : AppStartup
services.AddSingleton<BackgroundService, TimedTaskBackgroundService>(sp => new TimedTaskBackgroundService());
//var bgSvc = App.GetRequiredService<BackgroundService>();
//bgSvc.StartAsync(CancellationToken.None);
services.AddHostedService<RedisBackGround>();
// services.AddHostedService<RedisBackGround>();
}