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

12 lines
209 B
Go
Raw Normal View History

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