Partager via


DeadlockTimeout

Specifies the period (in milliseconds) of the deadlock detection heartbeat. The following table summarizes the attributes of the DeadlockTimeout property.

Attribute Value
Data type
DWORD
Access
Read/write
Structure
CLUSPROP_DWORD
Minimum
1000 (1 second)
Maximum
0xFFFFFFFF
Default
300000 (5 minutes)

Note that the PendingTimeout property cannot be greater than the DeadlockTimeout property – the lower of the two values will be used to determine if the resource should be online. When debugging cluster resources, both values should be incremented for the debugging session.

Examples

The property value portion of a property list entry for DeadlockTimeout can be set with the following example code:

DWORD          DeadlockTimeoutData = 60000; // 1 minute timeout
CLUSPROP_DWORD DeadlockTimeoutValue;

DeadlockTimeoutValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
DeadlockTimeoutValue.cbLength  = sizeof(DWORD);
DeadlockTimeoutValue.dw        = DeadlockTimeoutData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Resource Common Properties

CLUSPROP_DWORD