Files
directus/docs/self-hosted
ian d9f3970a25 Add semaphore to GraphQL schema generation (#24667)
* freeze schema and yeeted key-v for local schema cache

* prettier

* renamed utility

* check for already frozen schemas

* fixed sanitizeSchema editing by referenc

* fixed broken test

* removed unused async

* await columninfo cache compression

* Create friendly-beers-reply.md

* Clear memorySchemaCache in clearSystemCache()

* Rename memory schema cache methods

* Add CACHE_SCHEMA_FREEZE_ENABLED to allow schema mutations

* Prevent breaking change

* Improve description clarity

* Add mutex to GraphQL schema generation

* Add changeset

* Check cache after acquiring lock

* Use a configurable semaphore

* Update .changeset/great-apes-look.md

* Use TS number casting

---------

Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2025-02-25 17:51:23 +08:00
..