lockWaitBound property

Duration get lockWaitBound

The longest one write waits for the enrollment's lock, not counting the atServer's answers: for each of its leases, up to the lock's ttl for this store's own last lease to lapse and then up to the write's wait for another writer's to.

Implementation

Duration get lockWaitBound => (_lockTtl + _lockWait) * _leaseTakes;