[client] Reduce upload/download threads to 3.

This commit is contained in:
Jiaqiang Xu 2015-09-10 19:23:32 +08:00
parent a5e2dd4e97
commit df6acfb449
2 changed files with 2 additions and 2 deletions

View File

@ -2879,7 +2879,7 @@ out:
g_async_queue_push (tx_data->finished_tasks, task);
}
#define DEFAULT_UPLOAD_BLOCK_THREADS 10
#define DEFAULT_UPLOAD_BLOCK_THREADS 3
static int
multi_threaded_send_blocks (HttpTxTask *http_task, GList *block_list)

View File

@ -4822,7 +4822,7 @@ handle_dir_added_de (const char *repo_id,
ce->ce_mtime.sec = de->mtime;
}
#define DEFAULT_DOWNLOAD_THREADS 10
#define DEFAULT_DOWNLOAD_THREADS 3
static int
download_files_http (const char *repo_id,