From 875932bcba001f7716e5cc311f251d45b244fceb Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 30 Jun 2015 14:44:33 +0300 Subject: [PATCH] Disable stickers preload once in 15min Closes #812 --- app/js/services.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/js/services.js b/app/js/services.js index a63d605d..dcdcdea2 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -3682,14 +3682,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) if (!started) { started = true; setTimeout(getStickers, 1000); - setInterval(preloadStickers, 900000); } } - function preloadStickers() { - getStickers().then(getStickersImages); - } - function processRawStickers(stickers) { if (applied !== stickers.hash) { applied = stickers.hash;