IServerAgentConnection.SetClusterRecyclingByTime

Syntax:

SetClusterRecyclingByTime(<Cluster>, <LifetimeLimit>)

Parameters:

<Cluster> (required)

Type: IClusterInfo.
Cluster for which it is necessary to change settings of working processes auto restart. Should be obtained by the GetClusters method of the IServerAgentConnection object.

<LifetimeLimit> (required)

Type: Number.
Working processes auto restart period in seconds.
0 - periodical restart is not performed.

Description:

Specifies periodic restart of working processes. If the time elapsed since the working process had been started exceeds the time specified in the <LifetimeLimit> parameter, the working process wil be restarted automatically.

Availability:

Integration.

    

1C:Enterprise Developer's Community