mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	small clarification of the sync logs
This commit is contained in:
		
							parent
							
								
									f71d71104a
								
							
						
					
					
						commit
						64e8777ed5
					
				@ -123,7 +123,7 @@ async function pullSync(syncContext) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    for (const sync of syncRows) {
 | 
					    for (const sync of syncRows) {
 | 
				
			||||||
        if (source_id.isLocalSourceId(sync.source_id)) {
 | 
					        if (source_id.isLocalSourceId(sync.source_id)) {
 | 
				
			||||||
            log.info("Skipping " + sync.entity_name + " " + sync.entity_id + " because it has local source id.");
 | 
					            log.info("Skipping pull " + sync.entity_name + " " + sync.entity_id + " because it has local source id.");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            await setLastSyncedPull(sync.id);
 | 
					            await setLastSyncedPull(sync.id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -188,7 +188,7 @@ async function pushSync(syncContext) {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (sync.source_id === syncContext.sourceId) {
 | 
					        if (sync.source_id === syncContext.sourceId) {
 | 
				
			||||||
            log.info("Skipping sync " + sync.entity_name + " " + sync.entity_id + " because it originates from sync target");
 | 
					            log.info("Skipping push " + sync.entity_name + " " + sync.entity_id + " because it originates from sync target");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        else {
 | 
					        else {
 | 
				
			||||||
            await readAndPushEntity(sync, syncContext);
 | 
					            await readAndPushEntity(sync, syncContext);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user