Skip to main content
Glama
test_autoscale.py326 B
from monitoring.autoscale import should_scale_up, should_scale_down def test_autoscale_simple_rules(): up = should_scale_up([10, 5], avg_latency_ms=1600, max_workers=10, current_workers=2) down = should_scale_down([0, 0], avg_latency_ms=200, min_workers=1, current_workers=3) assert up is True and down is True

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/Zazzles2908/EX_AI-mcp-server'

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