From e7bd01a971851fe53965838437fd62ec5d2f5076 Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Mon, 23 Dec 2024 14:33:28 -0800 Subject: [PATCH] #2382: ccm-lb: reduce sleep to 1ms --- src/vt/vrt/collection/balance/temperedlb/temperedlb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc b/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc index 9fadcf94d0..e140ff4ace 100644 --- a/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc +++ b/src/vt/vrt/collection/balance/temperedlb/temperedlb.cc @@ -2592,7 +2592,7 @@ void TemperedLB::satisfyLockRequest() { try_locks_.erase(iter); if (lock.forced_release) { - std::this_thread::sleep_for(std::chrono::milliseconds(5)); + std::this_thread::sleep_for(std::chrono::milliseconds(1)); lock.forced_release = false; try_locks_.insert(lock); return;