File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public static void AzzyBotServices(this IServiceCollection services)
51
51
52
52
services . AddSingleton < AzuraCastFileService > ( ) ;
53
53
services . AddHostedService < AzuraCastBackgroundServiceHost > ( ) ;
54
- services . AddSingleton < IQueuedBackgroundTask > ( _ => new AzuraCastFileTask ( ) ) ;
54
+ services . AddSingleton < IQueuedBackgroundTask > ( _ => new AzuraCastBackgroundTask ( ) ) ;
55
55
56
56
services . AddSingleton < TimerServiceHost > ( ) ;
57
57
services . AddHostedService ( s => s . GetRequiredService < TimerServiceHost > ( ) ) ;
Original file line number Diff line number Diff line change 6
6
7
7
namespace AzzyBot . Services . Queues ;
8
8
9
- public sealed class AzuraCastFileTask : IQueuedBackgroundTask
9
+ public sealed class AzuraCastBackgroundTask : IQueuedBackgroundTask
10
10
{
11
11
private readonly Channel < Func < CancellationToken , ValueTask > > _queue ;
12
12
13
- public AzuraCastFileTask ( )
13
+ public AzuraCastBackgroundTask ( )
14
14
{
15
15
BoundedChannelOptions options = new ( 100 )
16
16
{
You can’t perform that action at this time.
0 commit comments