From b2484c8bd77a9d21bcf1827f554444535196953d Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 21 五月 2021 10:47:18 +0800
Subject: [PATCH] center save shm on each node, no bind to shm.

---
 utest/api_test.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/utest/api_test.cpp b/utest/api_test.cpp
index dc3efb6..fb1587b 100644
--- a/utest/api_test.cpp
+++ b/utest/api_test.cpp
@@ -373,7 +373,7 @@
 	threads.Launch(hb, &run);
 	threads.Launch(showStatus, &run);
 	int ncli = 10;
-	const int64_t nreq = 10; //00 * 100;
+	const int64_t nreq = 1000 * 100;
 
 	for (int i = 0; i < 10; ++i) {
 		SyncRequest(i);
@@ -397,10 +397,11 @@
 		}
 	}
 
+	Sleep(1s);
+
 	run = false;
 	threads.WaitAll();
 	auto &st = Status();
-	Sleep(1s);
 	printf("nreq: %8ld, nsrv: %8ld, nreply: %8ld\n", st.nrequest_.load(), st.nserved_.load(), st.nreply_.load());
 	BHCleanup();
 	printf("after cleanup\n");

--
Gitblit v1.8.0