disable heartbeat check for a specific microservice #1120
Answered
by
icebob
AndreaDelliGatti
asked this question in
Q&A
-
how can i disable heartbeat check for a specific microservice? |
Beta Was this translation helpful? Give feedback.
Answered by
icebob
Aug 10, 2022
Replies: 1 comment
-
The heartbeat checks the connectivity of nodes, not services. You can disable it in broker options with // moleculer.config.js
module.exports = {
registry: {
discoverer: {
type: "Local",
options: {
// Disable heartbeat checking & sending, if true
disableHeartbeatChecks: false
}
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AndreaDelliGatti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The heartbeat checks the connectivity of nodes, not services. You can disable it in broker options with