LeaseBasedQueueBalancerOptions.DefaultLeaseRenewPeriod 字段

定义

默认租约续订期

public static readonly TimeSpan DefaultLeaseRenewPeriod;
 staticval mutable DefaultLeaseRenewPeriod : TimeSpan
Public Shared ReadOnly DefaultLeaseRenewPeriod As TimeSpan 

字段值

注解

DefaultLeaseRenewPeriod 设置为 (DefaultLeaseLength/2 - 1) ,以允许在失去租约之前至少有 2 次续订呼叫的时间。

适用于