mirror of
https://github.com/harness/drone.git
synced 2025-05-06 11:20:14 +08:00
removed debug statements from websocket
This commit is contained in:
parent
61a3536122
commit
ff82ed2454
@ -66,7 +66,6 @@ func (c *Channel) start() {
|
||||
case sub := <-c.unsubscribe:
|
||||
delete(c.subscriptions, sub)
|
||||
close(sub.send)
|
||||
log.Println("usubscribed to subscription")
|
||||
|
||||
case sub := <-c.subscribe:
|
||||
c.subscriptions[sub] = true
|
||||
@ -118,7 +117,6 @@ func replay(s *Subscription, history []interface{}) {
|
||||
}
|
||||
|
||||
func (c *Channel) stop() {
|
||||
log.Println("subscription stopped")
|
||||
for sub := range c.subscriptions {
|
||||
sub.Close()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user