Skip to content

Commit

Permalink
Add docstring for concurrent calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Garbett1 committed Aug 1, 2023
1 parent 3de040b commit 33c79ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mettle/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ func (s *server) Receive() {
log.Fatalf("All pollers failed, exiting")
}

// process processes a single message off the responses queue.
// process processes a single message off the responses queue. Can be called concurrently by multiple go routines
func (s *server) process(msg *pubsub.Message) {
op := &longrunning.Operation{}
metadata := &pb.ExecuteOperationMetadata{}
Expand Down

0 comments on commit 33c79ce

Please sign in to comment.