that made stream change very slow

This commit is contained in:
Hannes Mannerheim 2016-01-23 21:04:30 +01:00
parent 8907798e4d
commit 182615a9d9

View File

@ -951,7 +951,10 @@ function searchForUpdatedNoticeData(obj) {
}
}
if(streamItemsUpdated) {
rememberStreamStateInLocalStorage();
// TODO, create a queue that runs with setInterval instead, say every 5 s,
// that way we can run rememberStreamStateInLocalStorage() in the background,
// and don't slow down stream change etc
// rememberStreamStateInLocalStorage();
}
}