@dossierhq/integration-test
Version:
Integration test to ensure that different Dossier database adapters work as expected.
6 lines • 351 B
JavaScript
/// <reference types="./SchemaTestUtils.d.ts" />
import { withAdvisoryLock } from '@dossierhq/core';
export async function withSchemaAdvisoryLock(client, callback) {
return await withAdvisoryLock(client, 'schema-update', { acquireInterval: 300, leaseDuration: 2_000, renewInterval: 1_000 }, callback);
}
//# sourceMappingURL=SchemaTestUtils.js.map