Fixing RW connections deadlock on SQLite

Without this change we're getting a connection in the same thread we hold one already.
This commit is contained in:
Slayer 2025-01-14 11:25:57 +02:00 committed by Sebastian Scheibner
parent a3776c88bd
commit c55ee85c5c

View file

@ -78,7 +78,7 @@ public class KeyValueStore {
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;
}