[FIX] EventConsole batch fix
This commit is contained in:
@@ -58,7 +58,7 @@ public abstract class ExtendedBackgroundService(string name, string description,
|
||||
if (State == ServiceState.Running)
|
||||
{
|
||||
State = ServiceState.Paused;
|
||||
logger.LogInformation("Pauses service: {ServiceName}", Name);
|
||||
LogEvent("Service paused.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public abstract class ExtendedBackgroundService(string name, string description,
|
||||
{
|
||||
State = ServiceState.Running;
|
||||
_resumeSignal.TrySetResult();
|
||||
logger.LogInformation("Resumed service: {ServiceName}", Name);
|
||||
LogEvent("Service resumed.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user