mirror of
				https://github.com/fabianonline/telegram_backup.git
				synced 2025-11-04 01:27:47 +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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user