1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/features/scheduler
Gastón Fournier 126b78896e
feat: make edge use token's cache (#6893)
## About the changes
This PR removes the feature flag `queryMissingTokens` that was fully
rolled out.
It introduces a new way of checking edgeValidTokens controlled by the
flag `checkEdgeValidTokensFromCache` that relies in the cached data but
hits the DB if needed.

The assumption is that most of the times edge will find tokens in the
cache, except for a few cases in which a new token is queried. From all
tokens we expect at most one to hit the DB and in this case querying a
single token should be better than querying all the tokens.
2024-04-19 15:40:15 +02:00
..
job-service.test.ts chore: job-service handle exceptions (#6818) 2024-04-10 14:34:16 +02:00
job-service.ts chore: job-service handle exceptions (#6818) 2024-04-10 14:34:16 +02:00
job-store.test.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
job-store.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00
schedule-services.ts feat: make edge use token's cache (#6893) 2024-04-19 15:40:15 +02:00
scheduler-service.test.ts feat: use audit info in events (#6872) 2024-04-18 16:32:35 +02:00
scheduler-service.ts feat: allow schedulers to run in a single node (#6794) 2024-04-10 11:47:22 +02:00