Ctrl K
ComunidadGuías…

server/storage/utils.ts

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
import env from "@server/env";

/**
 * For debugging. The connection name is based on the services running in
 * this process. Note that this does not need to be unique.
 */
export const getConnectionName = (connectionNameSuffix?: string) => {
  const connectionNamePrefix = env.isDevelopment ? process.pid : "outline";
  return (
    `${connectionNamePrefix}:${env.SERVICES.join("-")}` +
    (connectionNameSuffix ? `:${connectionNameSuffix}` : "")
  );
};