UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

11 lines 276 B
import os from 'node:os'; /** * Get the concurrency limit for generation * * @returns The concurrency limit */ export function getGenerationConcurrencyLimit() { const cpus = os.cpus().length; return Math.max(cpus * 2, 10); } //# sourceMappingURL=concurrency.js.map