2 writes to DependencyCheckTimeout
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
371
options.
DependencyCheckTimeout
= timeout;
380
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)
367
if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]))
369
if (int.TryParse(dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)], out var timeout))
375
throw new InvalidOperationException($"Invalid value \"{dcpPublisherConfiguration[nameof(options.
DependencyCheckTimeout
)]}\" for \"--dcp-dependency-check-timeout\". Expected an integer value.");
380
options.DependencyCheckTimeout = configuration.GetValue(KnownConfigNames.DependencyCheckTimeout, KnownConfigNames.Legacy.DependencyCheckTimeout, options.
DependencyCheckTimeout
);
Aspire.Hosting.Tests (1)
Dcp\DcpCliArgsTests.cs (1)
72
Assert.Equal(42, dcpOptions.
DependencyCheckTimeout
);