Skip to content

Commit

Permalink
Fixing RW connections deadlock on SQLite
Browse files Browse the repository at this point in the history
Without this change we're getting a connection in the same thread we hold one already.
  • Loading branch information
dukhaSlayer authored and AsamK committed Jan 14, 2025
1 parent a3776c8 commit c55ee85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public <T> boolean storeEntry(
final KeyValueEntry<T> key,
final T value
) throws SQLException {
final var entry = getEntry(key);
final var entry = getEntry(connection, key);
if (Objects.equals(entry, value)) {
return false;
}
Expand Down

0 comments on commit c55ee85

Please sign in to comment.