'use strict';


module.exports = {
    proxy: {
        port: 8888,

        statsSamplingDelay: 2000,
    },

    commander: {
        port: 8889,
    },

    instance: {
        checkDelay: 10 * 1000, // 10sec
        checkAliveDelay: 20 * 1000, // 20sec
        stopIfCrashedDelay: 2 * 60 * 1000, // 120sec,
        autoRestartDelay: 60 * 60 * 1000, // 1h,

        autorestart: {
            minDelay: 1 * 60 * 60 * 1000, // 1h
            maxDelay: 12 * 60 * 60 * 1000, // 12h
        },

        scaling: {
            downscaleDelay: 10 * 60 * 1000, // 10min
        },
    },

    test: {
        //mirror: 'http://91.121.178.196:13337',
    },
};

'use strict';


module.exports = {
    proxy: {
        port: 8888,

        statsSamplingDelay: 1000,
    },

    commander: {
        port: 8889,
    },

    instance: {
        checkDelay: 10 * 1000, // 10sec
        checkAliveDelay: 20 * 1000, // 20sec
        stopIfCrashedDelay: 2 * 60 * 1000, // 120sec,
        autoRestartDelay: 60 * 60 * 1000, // 1h,

        autorestart: {
            minDelay: 1 * 60 * 60 * 1000, // 1h
            maxDelay: 12 * 60 * 60 * 1000, // 12h
        },

        scaling: {
            downscaleDelay: 10 * 60 * 1000, // 10min
        },
    },

    test: {
        //mirror: 'http://91.121.178.196:13337',
    },
};

change stats sampling delay to 1sec