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