diff --git a/bufferedclient.go b/bufferedclient.go index 8c55ad3..9e2722c 100644 --- a/bufferedclient.go +++ b/bufferedclient.go @@ -207,11 +207,6 @@ func (sb *StatsdBuffer) flush() (err error) { if n == 0 { return nil } - err = sb.statsd.CreateSocket() - if nil != err { - sb.Logger.Println("Error establishing UDP connection for sending statsd events:", err) - return err - } if err := sb.statsd.SendEvents(sb.events); err != nil { sb.Logger.Println(err) return err