-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathconstants.ts
More file actions
26 lines (24 loc) · 914 Bytes
/
Copy pathconstants.ts
File metadata and controls
26 lines (24 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* Environment variable name for enabling/disabling profiling globally.
* When set to 'true', profiling is enabled. When set to 'false' or unset, profiling is disabled.
*
* @example
* CP_PROFILING=true npm run dev
*/
export const PROFILER_ENABLED_ENV_VAR = 'CP_PROFILING';
/**
* Environment variable name for enabling debug mode for profiler state transitions.
* When set to 'true', profiler state transitions create performance marks for debugging.
*
* @example
* CP_PROFILER_DEBUG=true npm run dev
*/
export const PROFILER_DEBUG_ENV_VAR = 'CP_PROFILER_DEBUG';
/**
* Environment variable name for setting the Sharded WAL Coordinator ID.
* This ID is used to identify the coordinator instance in a sharded Write-Ahead Logging setup.
* @example
* CP_SHARDED_WAL_COORDINATOR_ID=coordinator-1 npm run dev
*/
export const SHARDED_WAL_COORDINATOR_ID_ENV_VAR =
'CP_SHARDED_WAL_COORDINATOR_ID';