KStateRepository flushing added after saving to make sure it's written to the file.
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user