Skip to content

Commit ed5f009

Browse files
committed
Fix loopbackio#109 bug transaction concurrency.
1 parent ff7323b commit ed5f009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/transaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function mixinTransaction(PostgreSQL) {
7171
if (err) {
7272
pool.destroy(connection);
7373
} else {
74-
pool.release(connection);
74+
pool.pool.release(connection);
7575
}
7676
}
7777
};

0 commit comments

Comments
 (0)