mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Lower default granularity
This commit is contained in:
parent
ff81344aa8
commit
a6ae97ecb1
2 changed files with 2 additions and 2 deletions
2
Gopkg.lock
generated
2
Gopkg.lock
generated
|
@ -98,7 +98,7 @@
|
|||
branch = "master"
|
||||
name = "github.com/jedisct1/go-clocksmith"
|
||||
packages = ["."]
|
||||
revision = "37ddc416ad55843f387500810537f09f0c8d2cf0"
|
||||
revision = "c35da9bed550558a4797c74e34957071214342e7"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
2
vendor/github.com/jedisct1/go-clocksmith/clocksmith.go
generated
vendored
2
vendor/github.com/jedisct1/go-clocksmith/clocksmith.go
generated
vendored
|
@ -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…
Add table
Reference in a new issue