imports/vx/both/code/vxapp.js
/**
     * Determine whether the subsystem status change should be ignored.
     *
     * @param {string} subsystem Subsystem (e.g., "LIME_LIGHT_INSTANCE", "GATEWAY").
     * @param {object} record Record with subsystem status to be tested.
     * @param {string} status Subsystem status (e.g., GREEN, RED).
     * @param {string} key i18n key of message to associate with status change.
     * @param {object} variables i18n variables.
     * @return {boolean} True if subsystem status is equal.
     */
Determine whether the subsystem status change should be ignored.
@param {string} subsystem Subsystem .
@param {object} record Record with subsystem status to be tested.
@param {string} status Subsystem status .
@param {string} key i18n key of message to associate with status change.
@param {object} variables i18n variables.
@return {boolean} True if subsystem status is equal.
Determine whether the subsystem status change should be ignored . @param { string } subsystem Subsystem . @param { object } record Record with subsystem status to be tested . @param { string } status Subsystem status . @param { string } key i18n key of message to associate with status change . @param { object } variables i18n variables . @return { boolean } True if subsystem status is equal .
isSubsystemStatusChangeIgnored(subsystem, record, status, key, variables) {
        if (key === "common.status_limelight_error" && variables && variables.errorString) {
            if (variables.errorString.indexOf("ENOTFOUND") >= 0) {
                return true
            }
            if (variables.errorString.indexOf("ECONNRESET") >= 0) {
                return true
            }
        }
        return false
    }
isSubsystemStatusChangeIgnored ( subsystem , record , status , key , variables ) { if ( key === "common.status_limelight_error" && variables && variables . errorString ) { if ( variables . errorString . indexOf ( "ENOTFOUND" ) >= 0 ) { return true } if ( variables . errorString . indexOf ( "ECONNRESET" ) >= 0 ) { return true } } return false }
Determine whether the subsystem status change should be ignored.
Determine whether the subsystem status change should be ignored .
// https://github.com/nodejs/node-v0.x-archive/issues/5545, it is possible that this // bug may be fixed in a later version of node.js