that made streams change very slow

This commit is contained in:
Hannes Mannerheim 2016-01-23 21:04:14 +01:00
parent afa579be1c
commit 94d00b7a86

View File

@ -951,7 +951,10 @@ function searchForUpdatedNoticeData(obj) {
} }
} }
if(streamItemsUpdated) { 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();
} }
} }