Skip to content

Commit

Permalink
add info logging for new config options
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgla committed Aug 31, 2021
1 parent 451d90f commit e56c987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Worker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
_host.StopApplication();
}

_logger.LogInformation($"Using check interval of {_appConfig.Value.CheckInterval ?? 1000}ms, min packet rate {_appConfig.Value.MinPacketRate ?? 1}");
while (!stoppingToken.IsCancellationRequested)
{
try
Expand Down
3 changes: 2 additions & 1 deletion src/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
],
"CallStartWebhook": "",
"CallEndWebhook": "",
"DelayMs": 2000
"CheckInterval": 2000,
"MinPacketRate": 1
},
"Provider": {
"KnownNetworks": {
Expand Down

0 comments on commit e56c987

Please sign in to comment.