diff --git a/cache/src/tango_cache_transfer.cpp b/cache/src/tango_cache_transfer.cpp index f744f25..4b8b890 100644 --- a/cache/src/tango_cache_transfer.cpp +++ b/cache/src/tango_cache_transfer.cpp @@ -21,7 +21,7 @@ static inline void curl_set_common_options(CURL *curl, long transfer_timeout, ch curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 500L); curl_easy_setopt(curl, CURLOPT_TIMEOUT, transfer_timeout); //测试发现多链接有某链接接收卡住的情况 //ctx->error="Operation too slow. Less than 1024 bytes/sec transferred the last 3 seconds" - curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 2L); + curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 5L); curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 100L); curl_easy_setopt(curl, CURLOPT_USERAGENT, "aws-sdk-cpp/1.5.24 Linux/3.10.0-327.el7.x86_64 x86_64 pangu_cache"); }