lib/model: Add minumum interval for progress emitter (fixes #3517)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3518
This commit is contained in:
committed by
Jakob Borg
parent
18cc7a663b
commit
6ec4fbc82b
@@ -60,6 +60,7 @@ func TestProgressEmitter(t *testing.T) {
|
||||
|
||||
p := NewProgressEmitter(c)
|
||||
go p.Serve()
|
||||
p.interval = 0
|
||||
|
||||
expectTimeout(w, t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user