open-consul/vendor/github.com/DataDog/datadog-go/statsd/uds.go

12 lines
209 B
Go

package statsd
import (
"time"
)
/*
UDSTimeout holds the default timeout for UDS socket writes, as they can get
blocking when the receiving buffer is full.
*/
const defaultUDSTimeout = 1 * time.Millisecond