From 2a825adde4001efc8e087bef536804412866327d Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sun, 18 Sep 2016 22:34:54 +0200 Subject: [PATCH] Disable projector auto reload after 5 minutes. Auto reload no longer used because client gets all required data after reconnection via websocket. --- openslides/core/static/js/core/base.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/openslides/core/static/js/core/base.js b/openslides/core/static/js/core/base.js index 8a0885c5d..9b62f7395 100644 --- a/openslides/core/static/js/core/base.js +++ b/openslides/core/static/js/core/base.js @@ -18,9 +18,6 @@ angular.module('OpenSlidesApp.core', [ 'DSProvider', 'DSHttpAdapterProvider', function(DSProvider, DSHttpAdapterProvider) { - // Reloads everything after 5 minutes. - // TODO: * find a way only to reload things that are still needed - DSProvider.defaults.maxAge = 5 * 60 * 1000; // 5 minutes DSProvider.defaults.reapAction = 'none'; DSProvider.defaults.basePath = '/rest'; DSProvider.defaults.afterReap = function(model, items) {