refresh notifications every minute

no reason to bombard the server, it's not like this is realtime
This commit is contained in:
Girish Ramakrishnan
2019-05-13 16:13:07 -07:00
parent 30583cce21
commit 5695da1d86

View File

@@ -77,7 +77,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (error) console.error(error);
else $scope.notifications = results;
$timeout(refreshNotifications, 10000);
$timeout(refreshNotifications, 60 * 1000);
});
}