Module: DistributedLock::GoogleCloudStorage

Defined in:
lib/distributed-lock-google-cloud-storage/lock.rb,
lib/distributed-lock-google-cloud-storage/utils.rb,
lib/distributed-lock-google-cloud-storage/errors.rb,
lib/distributed-lock-google-cloud-storage/version.rb,
lib/distributed-lock-google-cloud-storage/constants.rb

Defined Under Namespace

Modules: Version Classes: AlreadyLockedError, Error, Lock, LockUnhealthyError, NotLockedError, TimeoutError

Constant Summary collapse

DEFAULT_TTL =

The default lock time-to-live, in seconds.

5 * 60
DEFAULT_TTL_REFRESH_INTERVAL_DIVIDER =
8
DEFAULT_MAX_REFRESH_FAILS =
3
DEFAULT_BACKOFF_MIN =
1
DEFAULT_BACKOFF_MAX =
30
DEFAULT_BACKOFF_MULTIPLIER =
2