Commit f638ae59 authored by Sonja Happ's avatar Sonja Happ
Browse files

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

parent 7be29516
......@@ -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())
}
*/
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment