Skip to content

Commit 94f68c8

Browse files
authored
Merge pull request #1 from robinbiondi/patch-1
Fix loopbackio#109 bug transaction concurrency.
2 parents 469384e + ed5f009 commit 94f68c8

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)