.
This commit is contained in:
parent
035f77cd15
commit
17d3d9c8c4
@ -100,10 +100,6 @@ func ConnectToExchangeForPublish(host, username, password string) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
defer cancel()
|
||||
|
||||
if DebugMode {
|
||||
log.Println(msg)
|
||||
}
|
||||
|
||||
err = ch.PublishWithContext(ctx, "pubsub", msg.Topic, false, false, rabbitmq.Publishing{
|
||||
ContentType: "application/json",
|
||||
AppId: AppName,
|
||||
|
Loading…
Reference in New Issue
Block a user