We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28eaefc commit c7ce866Copy full SHA for c7ce866
1 file changed
dnscrypt-proxy/hot_reload.go
@@ -1,6 +1,8 @@
1
package main
2
3
import (
4
+ "time"
5
+
6
"github.com/jedisct1/dlog"
7
)
8
@@ -39,7 +41,7 @@ func (proxy *Proxy) InitHotReload() error {
39
41
dlog.Notice("Hot reload is enabled")
40
42
43
// Create a new configuration watcher
- configWatcher := NewConfigWatcher(1000) // Check every second
44
+ configWatcher := NewConfigWatcher(time.Second) // Check every second
45
46
// Register plugins for config watching
47
for _, plugin := range plugins {
0 commit comments