mirror of
https://github.com/bitwarden/server.git
synced 2025-07-08 03:15:07 -05:00
alive endpoint and logging
This commit is contained in:
@ -35,6 +35,7 @@ namespace Bit.EventsProcessor
|
||||
|
||||
public Task StartAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
_logger.LogWarning("Starting service.");
|
||||
_cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
|
||||
_executingTask = ExecuteAsync(_cts.Token);
|
||||
return _executingTask.IsCompleted ? _executingTask : Task.CompletedTask;
|
||||
|
Reference in New Issue
Block a user