summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/demo/hos_write_complete.cpp2
-rw-r--r--example/performance/HosClientPerformance.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/example/demo/hos_write_complete.cpp b/example/demo/hos_write_complete.cpp
index f96b16b9..e78ed694 100644
--- a/example/demo/hos_write_complete.cpp
+++ b/example/demo/hos_write_complete.cpp
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
hos_init_api();
debuginfo("hos_client_init start ...\n");
- hos_client_handle handle = hos_client_create("http://192.168.40.223:9098/hos/", "default", "default", 4000);
+ hos_client_handle handle = hos_client_create("http://192.168.40.223:9098/hos/", "default", "default", 400);
//hos_client_handle handle = hos_client_create("http://192.168.32.10:9098/hos/", "default", "default", 4);
if (handle == NULL)
{
diff --git a/example/performance/HosClientPerformance.cpp b/example/performance/HosClientPerformance.cpp
index 043fb58b..3cd88ef8 100644
--- a/example/performance/HosClientPerformance.cpp
+++ b/example/performance/HosClientPerformance.cpp
@@ -541,6 +541,7 @@ int main(int argc, char *argv[])
hos_set_thread_sum(handle, conf.thread_sum);
hos_set_cache_size(handle, conf.append_size);
+ hos_set_cache_times(handle, 0);
//创建bucket
if (hos_create_bucket(handle, conf.bucket))