mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-09 04:17:30 +08:00
[client] Reduce upload/download threads to 3.
This commit is contained in:
parent
a5e2dd4e97
commit
df6acfb449
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user