mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
AMQP: deactivate Ping until we have something more useful to send
This commit is contained in:
parent
7be2951675
commit
f638ae59ed
1 changed files with 7 additions and 4 deletions
|
@ -236,10 +236,13 @@ func StartAMQP(AMQPurl string, api *gin.RouterGroup) error {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-ticker.C:
|
case <-ticker.C:
|
||||||
err = PingAMQP()
|
//TODO Add a useful regular event here
|
||||||
if err != nil {
|
/*
|
||||||
log.Println("AMQP Error: ", err.Error())
|
err = PingAMQP()
|
||||||
}
|
if err != nil {
|
||||||
|
log.Println("AMQP Error: ", err.Error())
|
||||||
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue