mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-31 01:24:31 +00:00
added debug
This commit is contained in:
parent
58d47e1a75
commit
93ad86a150
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue