style: gofmt connect_daemon sources

This commit is contained in:
修雨
2026-06-13 22:23:48 +08:00
parent 65ab1a3076
commit ff89ffed69
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -45,8 +45,9 @@ import (
// processAlive from connect_lock.go), and signal a graceful stop.
//
// Two hidden internal flags select the mode of a re-exec:
// --daemon-supervise : run the supervisor loop (set by the --daemon parent)
// --daemon-worker : run a single foreground connector (set by the supervisor)
//
// --daemon-supervise : run the supervisor loop (set by the --daemon parent)
// --daemon-worker : run a single foreground connector (set by the supervisor)
const (
daemonSuperviseFlag = "daemon-supervise"
daemonWorkerFlag = "daemon-worker"
+1 -1
View File
@@ -36,7 +36,7 @@ func TestBackoffDelay(t *testing.T) {
{4, 8 * time.Second},
{5, 16 * time.Second},
{6, 32 * time.Second},
{7, cap}, // 64s capped to 60s
{7, cap}, // 64s capped to 60s
{8, cap},
{100, cap},
}