@photostructure/fs-metadata
    Preparing search index...

    Function getTimeoutMsDefault

    • Get the default timeout in milliseconds for Options.timeoutMs.

      This can be overridden by setting the FS_METADATA_TIMEOUT_MS environment variable to a positive integer.

      Note that this timeout may be insufficient for some devices, like spun-down optical drives or network shares that need to spin up or reconnect.

      Returns number

      The timeout from env var if valid, otherwise 5000ms