We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e10aa commit 3c86aa1Copy full SHA for 3c86aa1
modules/wg/wg.go
@@ -104,7 +104,7 @@ func cleanup() {
104
for {
105
now := time.Now()
106
if !wgEnabled {
107
- if diff := now.Sub(wgSetTime); diff > cutoff {
+ if diff := now.Sub(wgSetTime); diff > resetTime {
108
log.Printf("Set wgEnabled to true at %s", diff)
109
wgEnabled = true
110
wgSetTime = time.Now()
0 commit comments