INNER CODE UNIT · TypeScript

getPerformanceConfig

laxamentumtech/audnexus · src/config/performance.ts:175

export function getPerformanceConfig(): PerformanceConfig {
	if (_config === null) {
		_config = createPerformanceConfig()
	}
	return _config
}

/**
 * Reset the configuration instance (useful for testing).
 */
export function resetPerformanceConfig(): void {
	_config = null
}

/**
 * Set a custom configuration instance (useful for testing).
 * Rejects SCHEDULER_BATCH_SIZE values outside the valid range (a safe
 * positive integer at most MAX_SCHEDULER_BATCH_SIZE); other fields are

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…