@squidcloud/client
    Preparing search index...

    Interface DistributedLockOptions

    Options for acquiring a distributed lock.

    interface DistributedLockOptions {
        acquisitionTimeoutMillis?: number;
        maxHoldTimeMillis?: number;
    }
    Index

    Properties

    acquisitionTimeoutMillis?: number

    The maximum time to wait for the lock to be acquired on the server.

    2000.
    @internal.
    maxHoldTimeMillis?: number

    The maximum time the lock can be held before it is automatically released. If not specified, the lock will be held until explicitly released or the connection is lost.

    undefined (no limit).