Implement custom view counters

This commit is contained in:
2023-07-13 23:50:45 +01:00
parent 61a3df1cf8
commit dae8f99d33
4 changed files with 93 additions and 9 deletions

View File

@ -50,6 +50,8 @@ internal static class Program
services.AddTransient<StreamManager>();
services.AddTransient<SrsApi>();
services.AddHostedService<BackgroundStreamManager>();
services.AddSingleton<ViewCounter>();
services.AddHostedService<ViewCounterDecay>();
// lnd services
services.AddSingleton<LndNode>();