Skip to content
Snippets Groups Projects
Commit 24705086 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

lib/rrcache: commit after cache prune

parent 6fc13356
Branches
Tags
No related merge requests found
......@@ -240,6 +240,7 @@ static int stash(knot_layer_t *ctx, knot_pkt_t *pkt)
/* Cache full, do what we must. */
if (ret == KNOT_ESPACE) {
kr_cache_clear(&txn);
kr_cache_txn_commit(&txn);
} else {
kr_cache_txn_commit(&txn);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment