Skip to content

Variable: DEFAULT_LOCK_TIMEOUT_SECONDS ​

ts
const DEFAULT_LOCK_TIMEOUT_SECONDS: 10 = 10;

Defined in: packages/core/src/protocol/transaction.ts:19

Driver default lock wait, in seconds. Firebird's native default is WAIT with NO timeout — a blocked statement (a lock conflict, or DDL against metadata pinned by any prepared statement anywhere) waits forever, which reads as a hang. The driver defaults to a 10s timeout instead: blocked work fails with a clear "lock time-out on wait transaction" error. Opt back into Firebird's unbounded wait explicitly with wait: true.

MIT Licensed. Contains data derived from the Firebird project under IDPL/IPL.