mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +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>
This commit is contained in:
parent
087ec26c44
commit
6aad124241
@ -868,7 +868,7 @@ BeesCrawl::fetch_extents()
|
|||||||
// new references, and max_transid filtering in the kernel locks
|
// new references, and max_transid filtering in the kernel locks
|
||||||
// the filesystem while slowing us down.
|
// the filesystem while slowing us down.
|
||||||
// sk.max_transid = old_state.m_max_transid;
|
// 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;
|
sk.nr_items = BEES_MAX_CRAWL_SIZE;
|
||||||
|
|
||||||
// Lock in the old state
|
// Lock in the old state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user