From 93ad86a15016c84fbd61a8d9f5d34403a50373cf Mon Sep 17 00:00:00 2001 From: postmannen Date: Sun, 1 Dec 2024 08:04:26 +0100 Subject: [PATCH] added debug --- processes.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/processes.go b/processes.go index 57adb7d..84f5b45 100644 --- a/processes.go +++ b/processes.go @@ -166,6 +166,9 @@ func (p *processes) Start(proc process) { if proc.configuration.StartProcesses.StartPubHello != 0 { pf := func(ctx context.Context, procFuncCh chan Message) error { + fmt.Println("\n-------------------------------------------------------------------------------------------") + fmt.Printf("--- starting up publisher for method %v\n", "hello") + fmt.Print("-------------------------------------------------------------------------------------------\n\n") ticker := time.NewTicker(time.Second * time.Duration(p.configuration.StartProcesses.StartPubHello)) defer ticker.Stop() for {