共用方式為


AppPlatformDeploymentSettings.TerminationGracePeriodInSeconds Property

Definition

Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds.

public int? TerminationGracePeriodInSeconds { get; set; }
member this.TerminationGracePeriodInSeconds : Nullable<int> with get, set
Public Property TerminationGracePeriodInSeconds As Nullable(Of Integer)

Property Value

Applies to