视觉设备判定记录
This commit is contained in:
@@ -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>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user