Connecting to a newer node triggers autoupgrade check (fixes #1177)

This commit is contained in:
Audrius Butkevicius committed 2015-01-10 17:05:19 +00:00
1 parent 5d173168cc
commit 5034a41c08
3 files changed
+32 -6

No files matched your search

+4
View File
@@ -187,6 +187,10 @@ func (s *Subscription) Poll(timeout time.Duration) (Event, error) {
}
}
func (s *Subscription) C() <-chan Event {
return s.events
}
type BufferedSubscription struct {
sub *Subscription
buf []Event