style: gofmt connect_daemon sources
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user