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