Use 2 connections for file download.
GitOrigin-RevId: 04bc4b69b0e5a9608a49ec03e8b204ccc49bf349
This commit is contained in:
parent
98aba6304c
commit
4a6b1fa4d3
@ -147,8 +147,8 @@ Status NetQueryDispatcher::wait_dc_init(DcId dc_id, bool force) {
|
||||
|
||||
auto raw_dc_id = dc_id.get_raw_id();
|
||||
int32 upload_session_count = raw_dc_id != 2 && raw_dc_id != 4 ? 8 : 4;
|
||||
int32 download_session_count = 1;
|
||||
int32 download_small_session_count = 1;
|
||||
int32 download_session_count = 2;
|
||||
int32 download_small_session_count = 2;
|
||||
dc.main_session_ =
|
||||
create_actor<SessionMultiProxy>(PSLICE() << "SessionMultiProxy:" << raw_dc_id << ":main", session_count,
|
||||
auth_data, raw_dc_id == main_dc_id_, use_pfs, false, false, is_cdn);
|
||||
|
Loading…
Reference in New Issue
Block a user