Files
directus/api/src/utils
Rijk van Zanten 1ff4bf3330 Improve schema retrieval by caching the schema cache creation (#21824)
* Don't await non-async function

* Add process lock to system schema cache generation

* Add changeset

* Publish message on failure as well to release waiting process

* Update api/src/utils/get-schema.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update api/src/utils/get-schema.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Unsubscribe on callback

* Optimize db init

* Add timeout and infinite loop protection

* Reduce max attempts

* Clear timeout on callback

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-03 14:51:22 -04:00
..
2023-10-09 15:17:29 -04:00
2023-10-09 15:17:29 -04:00
2024-02-24 00:34:40 +01:00
2023-04-14 17:40:50 -04:00
2023-11-20 16:23:22 +01:00
2022-11-17 08:51:42 -05:00
2023-10-21 00:34:57 +02:00
2024-03-04 01:59:45 +01:00
2023-12-20 00:26:15 +01:00
2023-12-20 00:26:15 +01:00
2023-04-14 17:40:50 -04:00
2023-11-20 16:23:22 +01:00
2023-12-10 19:49:45 +01:00
2021-07-31 13:59:19 -04:00
2023-11-20 16:23:22 +01:00