Merge pull request #2407 from emanuelschuetze/disableProjectorReload

Disable projector auto reload after 5 minutes.
This commit is contained in:
Norman Jäckel 2016-09-18 22:53:50 +02:00 committed by GitHub
commit 916857d735

View File

@ -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) {