Member Junction
    Preparing search index...

    Function SetHostInstancePort

    • Names this process's MJAPI instance by the port it serves on. Serve calls it first, before anything stamps a row, so every HostInstanceID the server writes carries its port.

      Until it is called the instance is the process alone (pid-<pid>), and its startup recovery closes no other process's sessions. The identity is fixed once read: a later call with another port is logged and ignored, so the rows already stamped keep matching this process.

      Parameters

      • port: number

        The port this MJAPI serves on (graphqlPort).

      Returns void