CosmosDBTrigger.leaseExpirationInterval Method

Definition

Customizes the interval in milliseconds for which the lease is taken on a lease representing a partition. If the lease is not renewed within this interval, it will cause it to expire and ownership of the partition will move to another Trigger instance. Default is 60000 (60 seconds).

public abstract int leaseExpirationInterval()

Returns

int

interval in milliseconds for which the lease is taken

Applies to