kibana/packages/kbn-lock-manager/index.ts
Søren Louv-Jansen c33c95e507
[LockManager] Add isLockAcquisitionError helper (#220067)
- Adds a small helper method for handling errors of type
`LockAcquisitionError`.
- Flips retry logic for `populateMissingSemanticTextFieldWithLock ` so
we retry all errors except `LockAcquisitionError`
2025-05-05 23:49:18 +02:00

11 lines
624 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export { LockAcquisitionError, isLockAcquisitionError } from './src/lock_manager_client';
export { LockManagerService } from './src/lock_manager_service';