python-eureka-client icon indicating copy to clipboard operation
python-eureka-client copied to clipboard

How can I alter the heartbeat of the instance

Open PFernandezTorres opened this issue 10 months ago • 1 comments

In my spring boot project, I have set that every client needs to send every 5s a heartbeat and an expiration time of 9s. If the python instance has set per default a 30s heartbeat, it can lead to errors. How I can alter the python settings so it is the same at its spring boot peers

PFernandezTorres avatar Apr 26 '24 09:04 PFernandezTorres

You can set renewal_interval_in_secs in the init function to change the heartbeat interval.

keijack avatar Apr 28 '24 03:04 keijack

Thank you. I didn't see that property in the docs

PFernandezTorres avatar Apr 28 '24 20:04 PFernandezTorres