KStateRepository flushing added after saving to make sure it's written to the file.

This commit is contained in:
mlemanczyk committed 2026-01-20 21:46:36 +01:00
1 parent afed716105
commit c537e915d1
1 file changed
+1
@@ -65,6 +65,7 @@ public sealed class KStateRepository : IDisposable
string valueString = k.ToString(CultureInfo.InvariantCulture);
session.Upsert(keyString, valueString);
session.CompletePending(true);
_store.Log.FlushAndEvict(wait: true);
}
public bool TryGet(ulong prime, out BigInteger value)