Skip to content

Commit

Permalink
fix: update redis publish channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirasit Thiancharoenchai committed Oct 6, 2024
1 parent 1fca145 commit cfc823b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified main
Binary file not shown.
2 changes: 1 addition & 1 deletion service/update_testcase_submission.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func AddAndUpdateTestCase(channel *amqp.Channel, db_pool *gorm.DB, msg amqp.Deli
channel.Nack(msg.DeliveryTag,false,false)
return
}
err = publisher.PublishMessage(fmt.Sprintf("submission-result:%s", msgBody.JobID),"done")
err = publisher.PublishMessage(fmt.Sprintf("testcase-result:%s", msgBody.JobID),"done")
if err != nil {
fmt.Println("Error publishing to Redis:", err)
return
Expand Down

0 comments on commit cfc823b

Please sign in to comment.