RSS Git Download  Clone
Raw Blame History 221B 6 lines
const getInfo = require('./get-info')
module.exports = async function isClusterEnabled(server, cache = false) {
    const {cluster_enabled} = await getInfo(server, {cache})
    return Boolean(parseInt(cluster_enabled))
}