Skip to content

Commit f2bfd9b

Browse files
committed
fixed:windows and linux speed limits different
1 parent f02cbc2 commit f2bfd9b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

XEngine_Source/XEngine_StorageApp/StorageApp_Download.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ XHTHREAD CALLBACK XEngine_Download_SendThread(LPVOID lParam)
9393
XEngine_Task_SendDownload(tszClientAddr, tszMsgBuffer, nMsgLen);
9494
}
9595
int nTimeWait = 1;
96-
#ifdef _WINDOWS
97-
st_ServiceCfg.st_XLimit.nMaxDNLoader = st_ServiceCfg.st_XLimit.nMaxDNLoader * 10;
98-
#endif
9996
Algorithm_Calculation_SleepFlow(&nTimeWait, st_ServiceCfg.st_XLimit.nMaxDNLoader, nListCount, 4096);
10097
std::this_thread::sleep_for(std::chrono::microseconds(nTimeWait));
10198
}

0 commit comments

Comments
 (0)