Lower default granularity
This commit is contained in:
parent
ff81344aa8
commit
a6ae97ecb1
|
@ -98,7 +98,7 @@
|
|||
branch = "master"
|
||||
name = "github.com/jedisct1/go-clocksmith"
|
||||
packages = ["."]
|
||||
revision = "37ddc416ad55843f387500810537f09f0c8d2cf0"
|
||||
revision = "c35da9bed550558a4797c74e34957071214342e7"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
|
@ -4,7 +4,7 @@ import "time"
|
|||
|
||||
const (
|
||||
// DefaultGranularity - Maximum duration of actual time.Sleep() calls
|
||||
DefaultGranularity = 10 * time.Second
|
||||
DefaultGranularity = 5 * time.Second
|
||||
)
|
||||
|
||||
// SleepWithGranularity - sleeps for the given amount of time, with the given granularity;
|
||||
|
|
Loading…
Reference in New Issue