summaryrefslogtreecommitdiff
path: root/items.c
diff options
context:
space:
mode:
Diffstat (limited to 'items.c')
-rw-r--r--items.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/items.c b/items.c
index e5347cc..9cee07e 100644
--- a/items.c
+++ b/items.c
@@ -1669,13 +1669,7 @@ static void *lru_maintainer_thread(void *arg) {
LOGGER_LOG(l, LOG_SYSEVENTS, LOGGER_SLAB_MOVE, NULL,
src, dst);
}
- // dst == 0 means reclaim to global pool, be more aggressive
- if (dst != 0) {
- last_automove_check = current_time;
- } else if (dst == 0) {
- // also ensure we minimize the thread sleep
- to_sleep = 1000;
- }
+ last_automove_check = current_time;
}
}
pthread_mutex_unlock(&lru_maintainer_lock);