Skip to main content
Glama
processConcurrency.ts264 B
import os from 'node:os'; export const getProcessConcurrency = () => { const cpuCount = typeof os.availableParallelism === 'function' ? os.availableParallelism() : os.cpus().length; // Use all available CPUs except one return Math.max(1, cpuCount - 1); };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yamadashy/repomix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server