IServerAgentConnection.SetClusterRecyclingExpirationTimeout

Syntax:

SetClusterRecyclingExpirationTimeout(<Cluster>, <ExpirationTimeout>)

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.

<ExpirationTimeout> (required)

Type: Number.
Time of forced working processes completion.
0 - forced working processes completion is not performed.

Description:

Sets up the time for enforced termination. If the started working process is stopped, it will be terminated after no infobase connection is established through it.
However, if <ExpirationTimeout> seconds passed since the working process had stopped, its termination will be enforced even if some connections still exist.

Availability:

Integration.

    

1C:Enterprise Developer's Community