Skip to content

Commit 0b26568

Browse files
author
ald_productions
committed
docs(database) Fix inaccurate description of lock in comment
1 parent 85482d2 commit 0b26568

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/database/Database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export async function initDatabase(): Promise<DataSource> {
111111
if (applyMigrations) {
112112
const qr = dbConnection.createQueryRunner();
113113
/*
114-
The transaction lock ensures that exactly one server is attempting to run migrations at a time.
114+
The advisory lock ensures that exactly one server is attempting to run migrations at a time.
115115
It is session-specific, so should be released if a crash occurs. It is also blocking, so all
116116
servers can run their logic.
117117
*/

0 commit comments

Comments
 (0)