Skip to content

Commit d86ae30

Browse files
committed
add note for download limit
1 parent 2ceca68 commit d86ae30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

XEngine_Source/XEngine_StorageApp/StorageApp_Download.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ void CALLBACK XEngine_Download_CBSend(LPCSTR lpszClientAddr, SOCKET hSocket, LPV
9393
//限速
9494
Session_DLStroage_GetCount(&nListCount);
9595
Algorithm_Calculation_SleepFlow(xhLimit, &nTimeWait, st_ServiceCfg.st_XLimit.nMaxDNLoader, nListCount, 4096);
96+
//WINDOWS下sleep_for精度可能不准
9697
std::this_thread::sleep_for(std::chrono::microseconds(nTimeWait));
9798
}
9899

0 commit comments

Comments
 (0)