mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Move collection ID mapping query from getDatabasesDB init to lazy loading inside the Metadata decorator. The query is wrapped in silent() and skipValidation() to prevent triggering lifecycle hooks (Usage, Events) that were contributing to Redis OOM in CI. The mapping is loaded once on first need, not during resource init, reducing overhead for requests that don't access document endpoints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>