Skip to content

Commit

Permalink
SayHello debug prints
Browse files Browse the repository at this point in the history
Signed-off-by: Lakshman <Lakshman@localhost>
  • Loading branch information
Lakshman authored and Lakshman committed Jul 29, 2024
1 parent 137e3d5 commit 37007e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/invoker/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,11 @@ func SayHello(address, workflowID string) {
}
log.Debugf("In the if funcdur block after inner if\n")
}
log.Debugf("In the else block after if funcdur\n")
atomic.AddInt64(&completed, 1)
log.Debugf("In the else block after atomic\n")
}
log.Debugf("In SayHello after else\n")
}

func invokeEventingFunction(endpoint *endpoint.Endpoint) {
Expand All @@ -236,6 +239,7 @@ func invokeServingFunction(endpoint *endpoint.Endpoint) {
log.Debug("Invoking: ", address)
log.Debugf("In invokeServingFunction before SayHello\n")
SayHello(address, workflowIDs[endpoint])
log.Debugf("In invokeServingFunction after SayHello\n")
}

// LatencySlice is a thread-safe slice to hold a slice of latency measurements.
Expand Down

0 comments on commit 37007e6

Please sign in to comment.