mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Deployment v1
This commit is contained in:
@@ -41,11 +41,11 @@ public class ConfigurationMonitor {
|
||||
_h = h;
|
||||
_timer = new(8000) { AutoReset = false };
|
||||
_timer.Enabled = true;
|
||||
_timer.Elapsed += OnChanged;
|
||||
_timer.Elapsed += _OnChanged;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnChanged(Object source, System.Timers.ElapsedEventArgs e) {
|
||||
private void _OnChanged(Object source, System.Timers.ElapsedEventArgs e) {
|
||||
Console.WriteLine("Configuration changed (ConfigurationMonitor Class)");
|
||||
using IServiceScope serviceScope = _serviceProvider.CreateScope();
|
||||
IServiceProvider provider = serviceScope.ServiceProvider;
|
||||
|
||||
Reference in New Issue
Block a user