diff --git a/cache/src/tango_cache_client.cpp b/cache/src/tango_cache_client.cpp index ca8cd73..3a93a17 100644 --- a/cache/src/tango_cache_client.cpp +++ b/cache/src/tango_cache_client.cpp @@ -810,7 +810,7 @@ struct tango_cache_parameter *tango_cache_parameter_new(const char* profile_path param->max_cnn_host = intval; MESA_load_profile_uint_def(profile_path, section, "MAX_CNNT_PIPELINE_NUM", &intval, 20); param->max_pipeline_num = intval; - MESA_load_profile_uint_def(profile_path, section, "MAX_CURL_TRANSFER_TIMEOUT_S", &intval, 15); + MESA_load_profile_uint_def(profile_path, section, "MAX_CURL_TRANSFER_TIMEOUT_S", &intval, 0); param->transfer_timeout = intval; //instance diff --git a/cache/src/tango_cache_redis.cpp b/cache/src/tango_cache_redis.cpp index be78795..d4e6edf 100644 --- a/cache/src/tango_cache_redis.cpp +++ b/cache/src/tango_cache_redis.cpp @@ -212,7 +212,7 @@ static int parse_minio_events_json(struct tango_cache_ctx *ctx, const char *jcon { goto out_json; } - ctx->get.result.tlength = ptarget->valueint; //TODO: Èô³¬¹ý4GBÔõô°ì£¿ + ctx->get.result.tlength = ptarget->valuedouble; if(NULL == (ptarget=cJSON_GetObjectItem(pobject, "userMetadata")) || ptarget->type!=cJSON_Object) { goto out_json;