Skip to content

Commit

Permalink
feat(torch): add a comment
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <[email protected]>
  • Loading branch information
tty47 committed Oct 26, 2023
1 parent bfd39da commit 072bd1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/redis/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// Producer add data into the queue.
func Producer(data, queueName string) error {
log.Info("Adding STS [", data, "] node to the queue: [", queueName, "]")
data += "-0"
data += "-0" // we add the suffix as the pods have it in their name when we use a StatefulSet.
log.Info("Getting the pod from the STS [", data, "]")

connection, err := rmq.OpenConnection(
Expand Down

0 comments on commit 072bd1c

Please sign in to comment.