2 writes to DependencyCheckTimeout
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
175
options.
DependencyCheckTimeout
= timeout;
184
options.
DependencyCheckTimeout
= configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.DependencyCheckTimeout);
6 references to DependencyCheckTimeout
Aspire.Hosting (6)
Dcp\DcpDependencyCheck.cs (2)
75
if (_dcpOptions.
DependencyCheckTimeout
> 0)
77
processResult = await task.WaitAsync(TimeSpan.FromSeconds(_dcpOptions.
DependencyCheckTimeout
), cancellationToken).ConfigureAwait(false);
Dcp\DcpOptions.cs (4)
171
if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]))
173
if (int.TryParse(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)], out var timeout))
179
throw new InvalidOperationException($"Invalid value \"{dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]}\" for \"--dcp-dependency-check-timeout\". Expected an integer value.");
184
options.DependencyCheckTimeout = configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.
DependencyCheckTimeout
);