1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-03-31 01:24:31 +00:00

added debug

This commit is contained in:
postmannen 2024-12-01 08:04:26 +01:00
parent 58d47e1a75
commit 93ad86a150

View file

@ -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 {