This message was deleted.
# puppet-enterprise
s
This message was deleted.
but I could be wrong
z
Yeah, I saw this too, but are there any negative implications to Puppet infra if this is set to a lower number?
n
I think it should generally be okay. We use a heartbeat to keep the websockets open, so I think this shouldn’t really come into play much, but I haven’t really played around with this myself.
I forget what the heartbeat interval is, but it’s less than a minute I believe.
s
looks like it’s not exposed as a class param and by default is six minutes:
idle-timeout (get-in-config [:pcp-broker :idle-timeout] (* 1000 60 6))
n
The agent heartbeat is 120 seconds by default and it will disconnect after missing three of them. The broker has a corresponding default timeout of 6 minutes so it will give up at the same time as the agent. But as long as the agent heartbeat is less than the load balancer’s timeout, it should work fine, regardless of how the broker is configured.
z
Thank you!