_get_locking_config

data_base.distributed_lock._get_locking_config()

Get the locking configuration from the environment variable ISF_DISTRIBUTED_LOCK_CONFIG.

This method allows for a lazy evaluation of the locking configuration, and is used to set the global variable _CONFIG.

If the env variable ISF_DISTRIBUTED_LOCK_CONFIG is not set, it falls back to DEFAULT_CONFIG.

Returns:

List of configurations to try. Order of the list reflects priority.

Return type:

List[dict]