mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-12 16:26:37 +00:00
Also expose ItemStarted events
This commit is contained in:
parent
a8799efa94
commit
8ea1e302c3
@ -57,7 +57,7 @@ const (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
l.AddHandler(logger.LevelWarn, showGuiError)
|
l.AddHandler(logger.LevelWarn, showGuiError)
|
||||||
sub := events.Default.Subscribe(^events.EventType(events.ItemStarted | events.ItemCompleted))
|
sub := events.Default.Subscribe(events.AllEvents)
|
||||||
eventSub = events.NewBufferedSubscription(sub, 1000)
|
eventSub = events.NewBufferedSubscription(sub, 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ const (
|
|||||||
LocalIndexUpdated
|
LocalIndexUpdated
|
||||||
RemoteIndexUpdated
|
RemoteIndexUpdated
|
||||||
ItemStarted
|
ItemStarted
|
||||||
ItemCompleted
|
|
||||||
StateChanged
|
StateChanged
|
||||||
|
|
||||||
AllEvents = ^EventType(0)
|
AllEvents = ^EventType(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user