mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-19 18:12:43 -05:00
Implements bounded size for autocomplete suggestion maps to prevent unbounded memory growth with large schemas: - Added constants for max schemas (100) and max tables per schema (500) - Created setTablesForSchema() and setQueriesForMod() methods that enforce limits using LRU-style eviction when limits are exceeded - Updated interactive_client_autocomplete.go to use the new bounded setter This prevents excessive memory consumption when dealing with databases that have hundreds of connections with many tables each. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>