hemerajs / hemera

🔬 Writing reliable & fault-tolerant microservices in Node.js https://hemerajs.github.io/hemera/
MIT License
806 stars 70 forks source link

Detect and terminate message loops #35

Closed StarpTech closed 7 years ago

StarpTech commented 7 years ago

Implemented with https://github.com/hemerajs/hemera/blob/master/packages/hemera/lib/extensions.js#L50 and configurable with

new Hemera(nats, {
  maxRecursion: 0, // Max recursive method calls
})