From 920cfbc1f6090f0192ffb5f97b0385cc346e908a Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Wed, 11 Jan 2017 00:47:01 -0500 Subject: [PATCH] crawl: put the current crawl state in the thread status It's more useful than a generic "waiting for thread limit" status Signed-off-by: Zygo Blaxell --- src/bees-roots.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bees-roots.cc b/src/bees-roots.cc index 5760492..1a6b455 100644 --- a/src/bees-roots.cc +++ b/src/bees-roots.cc @@ -556,7 +556,7 @@ BeesCrawl::crawl_thread() { Timer crawl_timer; while (!m_stopped) { - BEESNOTE("waiting for crawl thread limit"); + BEESNOTE("waiting for crawl thread limit " << m_state); LockSet::Lock crawl_lock(m_ctx->roots()->lock_set(), m_state.m_root); auto this_range = pop_front(); if (this_range) {