Allow configuration of SPA startup timeout. Part of #1447

This commit is contained in:
Steve Sanderson
2018-01-02 14:13:47 +00:00
parent a98c1459b5
commit 814441c933
4 changed files with 15 additions and 10 deletions

View File

@@ -67,5 +67,11 @@ namespace Microsoft.AspNetCore.SpaServices
/// development. The directory may not exist in published applications.
/// </summary>
public string SourcePath { get; set; }
/// <summary>
/// Gets or sets the maximum duration that a request will wait for the SPA
/// to become ready to serve to the client.
/// </summary>
public TimeSpan StartupTimeout { get; set; } = TimeSpan.FromSeconds(50);
}
}