Sfoglia il codice sorgente

add cap started and shotdown log.

undefined
Savorboard 6 anni fa
parent
commit
239b849c57
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      src/DotNetCore.CAP/IBootstrapper.Default.cs

+ 4
- 0
src/DotNetCore.CAP/IBootstrapper.Default.cs Vedi File

@@ -59,6 +59,8 @@ namespace DotNetCore.CAP

private async Task BootstrapTaskAsync()
{
_logger.LogInformation("### CAP starting...");

await Storage.InitializeAsync(_cts.Token);

if (_cts.IsCancellationRequested)
@@ -83,6 +85,8 @@ namespace DotNetCore.CAP

_ctsRegistration.Dispose();
_cts.Dispose();

_logger.LogInformation("### CAP started!");
}

protected virtual Task BootstrapCoreAsync()


Caricamento…
Annulla
Salva