Skip to content

Commit c7ce866

Browse files
committed
Nits
1 parent 28eaefc commit c7ce866

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dnscrypt-proxy/hot_reload.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package main
22

33
import (
4+
"time"
5+
46
"github.com/jedisct1/dlog"
57
)
68

@@ -39,7 +41,7 @@ func (proxy *Proxy) InitHotReload() error {
3941
dlog.Notice("Hot reload is enabled")
4042

4143
// Create a new configuration watcher
42-
configWatcher := NewConfigWatcher(1000) // Check every second
44+
configWatcher := NewConfigWatcher(time.Second) // Check every second
4345

4446
// Register plugins for config watching
4547
for _, plugin := range plugins {

0 commit comments

Comments
 (0)