mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	remove duplicate pendingTransfer++
This commit is contained in:
		
							parent
							
								
									53a96fb26b
								
							
						
					
					
						commit
						bca4f1c217
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		
							
								
								
									
										1
									
								
								db.js
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								db.js
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -3252,7 +3252,6 @@ module.exports.CreateDB = function (parent, func) {
 | 
			
		|||
                    for (var i in docs) {
 | 
			
		||||
                        obj.pendingTransfer++;
 | 
			
		||||
                        eventRecordsTransferCount++;
 | 
			
		||||
                        for (var b in docs[i].ids) { if (docs[i].ids[b] != '*') { obj.pendingTransfer++; } }
 | 
			
		||||
                        obj.StoreEvent(docs[i], function () { obj.pendingTransfer--; });
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue