Member Junction
    Preparing search index...

    Function ResolveServerRole

    • Resolves the server role from MJ_SERVER_ROLE or mj.config.cjs's serverRole. Defaults to 'all' when unset or blank. Throws on unrecognized values so deployment typos fail fast at startup instead of silently running the wrong workload profile.

      Parameters

      • OptionalrawValue: string

      Returns ServerRole