Skip to content

Commit c0e2088

Browse files
committed
match.go changes
1 parent e94592d commit c0e2088

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/matching-service/processes/match.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ func PerformMatching(matchRequest models.MatchRequest, ctx context.Context, matc
5757
// Log down which users got matched
5858
log.Printf("Users %s and %s matched on the topic: %s with difficulty: %s", username, matchedUsername, matchedTopic, matchedDifficulty)
5959

60-
// Log queue after matchmaking
61-
PrintMatchingQueue(redisClient, "After Matchmaking", context.Background())
62-
6360
// Clean up redis for this match
6461
cleanUp(redisClient, username, ctx)
6562
cleanUp(redisClient, matchedUsername, ctx)
6663

64+
// Log queue after matchmaking
65+
PrintMatchingQueue(redisClient, "After Matchmaking", context.Background())
66+
6767
// Generate a random match ID
6868
matchId, err := utils.GenerateMatchID()
6969
if err != nil {

0 commit comments

Comments
 (0)