NinjaScript > Language Reference > Strategy >

RestartDelaySeconds

Print this Topic Previous pageReturn to chapter overviewNext page

Definition

Indicates the amount of time a reestablished connection needs to be held before certain connection loss handling actions will be taken

 

Property Value

An int value representing the time required for a reconnection to last before certain connection loss handling actions will occur.

 

Syntax

RestartDelaySeconds

 

 

Examples

protected override void Initialize()
{

    // Recalculate strategy only after connection is reestablished for at least 10 seconds
    RestartDelaySeconds = 10;
}