修改demo
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user