Skip to content

Commit cacd914

Browse files
committed
LMDB Disk Cache: clarify the purpose of the queue [reusable_keys]
1 parent 092418b commit cacd914

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/disk_cache/lmdb/disk_cache.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module Make (Data : Binable.S) = struct
2121
; db : Rw.holder
2222
; counter : int ref
2323
; reusable_keys : int Queue.t
24-
(** A list of ids that are no longer reachable from OCaml's side *)
24+
(** A list of ids that are no longer reachable from OCaml runtime, but
25+
haven't been cleared inside the LMDB disk cache *)
2526
}
2627

2728
(** How big can the queue [reusable_keys] be before we do a cleanup *)

0 commit comments

Comments
 (0)