mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 10:28:49 -07: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
1ef75be1c6
commit
b279e261a1
@ -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