1 write to MaxRestartDelay
Aspire.Hosting.RemoteHost (1)
Language\IntegrationHostConfiguration.cs (1)
32MaxRestartDelay = ReadDuration(configuration, nameof(MaxRestartDelay), TimeSpan.FromSeconds(4));
3 references to MaxRestartDelay
Aspire.Hosting.RemoteHost (3)
Language\IntegrationHostConfiguration.cs (3)
32MaxRestartDelay = ReadDuration(configuration, nameof(MaxRestartDelay), TimeSpan.FromSeconds(4)); 38if (RestartDelay > MaxRestartDelay) 101=> TimeSpan.FromMilliseconds(Math.Min(RestartDelay.TotalMilliseconds * Math.Pow(2, attempt - 1), MaxRestartDelay.TotalMilliseconds));