Do not poll for subscription so often

This commit is contained in:
Johannes Zellner
2017-06-07 13:41:18 +02:00
parent 479da5393a
commit d141d6ba21
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
$scope.currentSubscription = result;
// check again to give more immediate feedback once a subscription was setup
if (result.plan.id === 'free') $timeout(getSubscription, 5000);
if (result.plan.id === 'free') $timeout(getSubscription, 10000);
});
});
}

View File

@@ -509,7 +509,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
$scope.currentSubscription = result;
// check again to give more immediate feedback once a subscription was setup
if (result.plan.id === 'free') $timeout(getSubscription, 5000);
if (result.plan.id === 'free') $timeout(getSubscription, 10000);
});
}