2 writes to DependencyCheckTimeout
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
156options.DependencyCheckTimeout = timeout; 165options.DependencyCheckTimeout = configuration.GetValue("DOTNET_ASPIRE_DEPENDENCY_CHECK_TIMEOUT", options.DependencyCheckTimeout);
6 references to DependencyCheckTimeout
Aspire.Hosting (6)
Dcp\DcpDependencyCheck.cs (2)
78if (_dcpOptions.DependencyCheckTimeout > 0) 80processResult = await task.WaitAsync(TimeSpan.FromSeconds(_dcpOptions.DependencyCheckTimeout), cancellationToken).ConfigureAwait(false);
Dcp\DcpOptions.cs (4)
152if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.DependencyCheckTimeout)])) 154if (int.TryParse(dcpPublisherConfiguration[nameof(options.DependencyCheckTimeout)], out var timeout)) 160throw new InvalidOperationException($"Invalid value \"{dcpPublisherConfiguration[nameof(options.DependencyCheckTimeout)]}\" for \"--dcp-dependency-check-timeout\". Expected an integer value."); 165options.DependencyCheckTimeout = configuration.GetValue("DOTNET_ASPIRE_DEPENDENCY_CHECK_TIMEOUT", options.DependencyCheckTimeout);