1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00
unleash.unleash/src/lib/features/maintenance
Ivar Conradi Østhus 77b7cb03e9
fix: maintenance mode should assume disable if db call fails. ()
Usually maintenance mode is disabled. If the call throws, which we see a
lot of when a unleash instance is in terminating state, we should return
a default value.

By having it throw inside of the memoizee function, the response is not
cached, and it will trigger new calls until it return a cachable result.
2024-02-03 09:17:11 +01:00
..
maintenance-controller.ts fix(import): making all imports relative and removing baseUrl () 2024-01-17 15:33:03 +02:00
maintenance-middleware.ts refactor: maintenance read model () 2023-11-28 13:03:02 +00:00
maintenance-service.test.ts chore: re use extract user methods () 2024-01-18 13:15:21 +01:00
maintenance-service.ts fix: maintenance mode should assume disable if db call fails. () 2024-02-03 09:17:11 +01:00