1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

crawl: somebody should set max_transid

The previous commit had both max_transid assigments commented out.
It happens to work because we set max_transid in the constructor and
it doesn't change after that, but it's cleaner to assign it explicitly.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2018-01-31 22:52:12 -05:00
Ursprung 087ec26c44
Commit 6aad124241
+1 -1
Datei anzeigen
@@ -868,7 +868,7 @@ BeesCrawl::fetch_extents()
// new references, and max_transid filtering in the kernel locks
// the filesystem while slowing us down.
// sk.max_transid = old_state.m_max_transid;
// sk.max_transid = numeric_limits<uint64_t>::max();
sk.max_transid = numeric_limits<uint64_t>::max();
sk.nr_items = BEES_MAX_CRAWL_SIZE;
// Lock in the old state