Skip to content

Commit

Permalink
Don't prefetch more frequently than 1/min
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 19, 2018
1 parent 1c27d6c commit 187de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnscrypt-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (proxy *Proxy) prefetcher(urlsToPrefetch *[]URLToPrefetch) {
}
}
}
time.Sleep(5 * time.Second)
time.Sleep(60 * time.Second)
}
}()
}
Expand Down

0 comments on commit 187de17

Please sign in to comment.