AMQP: deactivate Ping until we have something more useful to send

This commit is contained in:
Sonja Happ 2020-10-01 13:16:24 +02:00
parent 7be2951675
commit f638ae59ed

View file

@ -236,10 +236,13 @@ func StartAMQP(AMQPurl string, api *gin.RouterGroup) error {
for {
select {
case <-ticker.C:
err = PingAMQP()
if err != nil {
log.Println("AMQP Error: ", err.Error())
}
//TODO Add a useful regular event here
/*
err = PingAMQP()
if err != nil {
log.Println("AMQP Error: ", err.Error())
}
*/
}
}