Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function resolvePerfDataPort

    • Resolve the port the perf config boots the dataset server on.

      LUXAR_PERF_DATA_PORT is coerced with Number(...) (so '09000' normalizes to 9000); defaults to 9000 when unset.

      Parameters

      • env: ProcessEnv = process.env

        Environment to read the override from (defaults to process.env); passed explicitly by unit tests.

      Returns number

      The dataset-server port number.