Skip to main content
Glama
slow-completion.js404 B
// Test fixture for slow but normal completion (no hang) console.log("Starting slow execution"); let sum = 0; for (let i = 0; i < 1000000; i++) { sum += i; // Add a small delay every 100k iterations if (i % 100000 === 0) { const start = Date.now(); while (Date.now() - start < 10) { // Busy wait for 10ms } } } console.log("Sum:", sum); console.log("Completed successfully");

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/Digital-Defiance/mcp-debugger-server'

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