NorskManager.pauseLeases() method

Lease-protected jobs (protocol 1.6): pause leases for a single Manager’s maintenance. Workers keep their lease-protected jobs without refreshing, and no such job whose holder was lost starts again until resumeLeases. Forwarded to the primary.

Signature:

pauseLeases(reason: string, by: string): Promise<LeaseStatus>;

Parameters

Parameter Type Description

reason

string

by

string

Returns:

Promise<LeaseStatus>