Lower default granularity

This commit is contained in:
Frank Denis 2018-03-07 19:00:09 +01:00
parent ff81344aa8
commit a6ae97ecb1
2 changed files with 2 additions and 2 deletions

2
Gopkg.lock generated
View File

@ -98,7 +98,7 @@
branch = "master"
name = "github.com/jedisct1/go-clocksmith"
packages = ["."]
revision = "37ddc416ad55843f387500810537f09f0c8d2cf0"
revision = "c35da9bed550558a4797c74e34957071214342e7"
[[projects]]
branch = "master"

View File

@ -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;