修改demo

This commit is contained in:
pengxuanzheng
2020-11-11 11:15:14 +08:00
parent 810b099113
commit 7bf190553b
2 changed files with 2 additions and 1 deletions

View File

@@ -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)
{

View File

@@ -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))