From 199b07dfc3b10a733f780fe401c67c620c7399ea Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 12 Apr 2013 17:23:41 +0400 Subject: [PATCH] disabled auto-save, made the UI laggy... Signed-off-by: Alex A. Naanou --- ui/gallery-prototype.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/gallery-prototype.js b/ui/gallery-prototype.js index daea9bfb..47e059b0 100755 --- a/ui/gallery-prototype.js +++ b/ui/gallery-prototype.js @@ -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)