mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	disabled auto-save, made the UI laggy...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									40672cc744
								
							
						
					
					
						commit
						199b07dfc3
					
				| @ -1203,6 +1203,7 @@ function setupEvents(){ | |||||||
| 			}) | 			}) | ||||||
| 	// save things if updated within a minute...
 | 	// save things if updated within a minute...
 | ||||||
| 	// XXX this gets very slow when saving a large data dump...
 | 	// XXX this gets very slow when saving a large data dump...
 | ||||||
|  | 	/* XXX temporarely disabled to avoid real-life slowdowns... | ||||||
| 	setInterval(function(){ | 	setInterval(function(){ | ||||||
| 			if(updated){ | 			if(updated){ | ||||||
| 				ImageGrid.saveState() | 				ImageGrid.saveState() | ||||||
| @ -1210,6 +1211,7 @@ function setupEvents(){ | |||||||
| 			}},  | 			}},  | ||||||
| 			// check every 2 minutes...
 | 			// check every 2 minutes...
 | ||||||
| 			2*60*1000) | 			2*60*1000) | ||||||
|  | 	*/ | ||||||
| 	// autosave every ten minutes...
 | 	// autosave every ten minutes...
 | ||||||
| 	// XXX do we really need this?
 | 	// XXX do we really need this?
 | ||||||
| 	//setInterval(ImageGrid.saveState, 600000)
 | 	//setInterval(ImageGrid.saveState, 600000)
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user