mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-22 16:56:16 +00:00
Revert e9df4eb
, experimental randomization of number of messages to download, because it didn't change anything (except for slowing the download even more).
This commit is contained in:
parent
e9df4ebdb4
commit
fb2db5b639
@ -173,7 +173,7 @@ public class DownloadManager {
|
||||
while (ids.size()>0) {
|
||||
logger.trace("Loop");
|
||||
TLIntVector vector = new TLIntVector();
|
||||
int download_count = Config.GET_MESSAGES_BATCH_SIZE - (int)(Math.random() * Config.GET_MESSAGES_BATCH_SIZE * 0.2);
|
||||
int download_count = Config.GET_MESSAGES_BATCH_SIZE;
|
||||
logger.trace("download_count: {}", download_count);
|
||||
for (int i=0; i<download_count; i++) {
|
||||
if (ids.size()==0) break;
|
||||
|
Loading…
Reference in New Issue
Block a user