Ignore heartbeats lock fails

Stomp heartbeat handling is quite poorly designed. It happens in a
separate thread which sleeps, then tries to read a heartbeat if reading
mutex is acquired by message receiving thread it fails and increases
lock failure count. Upon reaching the limit (in our packets it is 2 by
default) it forcibly closes the connetion causing reconnect. Setting the
value to 0 turns the feature off.

Change-Id: Ieec889828d1dd2654ee760e7d5676efd14c7c348
Closes-Bug: #1613246
Closes-Bug: #1298262
This commit is contained in:
Georgy Kibardin 2016-09-13 18:43:45 +03:00
parent 5fd9c5acb7
commit 8318d70565
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ class fuel::mcollective(
},
'plugin.rabbitmq.heartbeat_interval' => {
value => '30'
},
'plugin.rabbitmq.max_hbrlck_fails' => {
value => '0'
}
}