mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
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:
parent
dde9d4c9eb
commit
bb15776ae6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user