moleculer
Version:
Fast & powerful microservices framework for Node.JS
20 lines (15 loc) • 363 B
JavaScript
/*
* moleculer
* Copyright (c) 2017 Ice Services (https://github.com/ice-services/moleculer)
* MIT Licensed
*/
;
module.exports = {
// Registry strategies
STRATEGY_ROUND_ROBIN: 1,
STRATEGY_RANDOM: 2,
// Circuit-breaker states
CIRCUIT_CLOSE: "close",
CIRCUIT_HALF_OPEN: "half_open",
CIRCUIT_OPEN: "open"
};