disabled auto-save, made the UI laggy...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-04-12 17:23:41 +04:00
parent 40672cc744
commit 199b07dfc3

View File

@ -1203,6 +1203,7 @@ function setupEvents(){
})
// save things if updated within a minute...
// XXX this gets very slow when saving a large data dump...
/* XXX temporarely disabled to avoid real-life slowdowns...
setInterval(function(){
if(updated){
ImageGrid.saveState()
@ -1210,6 +1211,7 @@ function setupEvents(){
}},
// check every 2 minutes...
2*60*1000)
*/
// autosave every ten minutes...
// XXX do we really need this?
//setInterval(ImageGrid.saveState, 600000)