2 writes to DependencyCheckTimeout
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
318
options.
DependencyCheckTimeout
= timeout;
327
options.
DependencyCheckTimeout
= configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.DependencyCheckTimeout);
7 references to DependencyCheckTimeout
Aspire.Hosting (6)
Dcp\DcpDependencyCheck.cs (2)
77
if (_dcpOptions.
DependencyCheckTimeout
> 0)
79
processResult = await task.WaitAsync(TimeSpan.FromSeconds(_dcpOptions.
DependencyCheckTimeout
), cancellationToken).ConfigureAwait(false);
Dcp\DcpOptions.cs (4)
314
if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]))
316
if (int.TryParse(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)], out var timeout))
322
throw new InvalidOperationException($"Invalid value \"{dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]}\" for \"--dcp-dependency-check-timeout\". Expected an integer value.");
327
options.DependencyCheckTimeout = configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.
DependencyCheckTimeout
);
Aspire.Hosting.Tests (1)
Dcp\DcpCliArgsTests.cs (1)
60
Assert.Equal(42, dcpOptions.
DependencyCheckTimeout
);