public void TearDown(BenchmarkContext context)
{
var shutdownTimeout = TimeSpan.FromSeconds(5);
try
{
_sys?.Terminate().Wait(shutdownTimeout);
}
catch (Exception ex)
{
context.Trace.Error(ex, $"failed to shutdown actorsystem within {shutdownTimeout}");
}
}
}