gui: Avoid pause between event polls (ref #3527)

We lose important events due to the frequency of ItemStarted /
ItemFinished events.
This commit is contained in:
Jakob Borg 2016-12-14 10:30:42 +01:00
parent dde9d4c9eb
commit bb15776ae6

View File

@ -33,11 +33,9 @@ angular.module('syncthing.core')
lastID = lastEvent.id;
}
$timeout(function () {
$http.get(urlbase + '/events?since=' + lastID)
.success(successFn)
.error(errorFn);
}, 500, false);
$http.get(urlbase + '/events?since=' + lastID)
.success(successFn)
.error(errorFn);
}
function errorFn (dummy) {