1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src/lib/routes/client-api
Christopher Kolstad 8bf4214ddb
feat: Handle database connection errors with 500 (#725)
* feat: Handle database connection errors with 500

- If database goes away while unleash is running, unleash now stays
  running, but all api endpoints will return 500.
- This includes our health endpoint, which allows k8s or similar
  orchestrators to decide what should be done, rather than Unleash
  terminating unexpectedly
2021-02-17 15:24:43 +01:00
..
api-def.json Feature/setup typescript 2021-02-12 11:42:00 +01:00
feature.js feat: Handle database connection errors with 500 (#725) 2021-02-17 15:24:43 +01:00
feature.test.js Feature/setup typescript 2021-02-12 11:42:00 +01:00
index.js Feature/setup typescript 2021-02-12 11:42:00 +01:00
metrics.js Feature/setup typescript 2021-02-12 11:42:00 +01:00
metrics.test.js Feature/setup typescript 2021-02-12 11:42:00 +01:00
register.js Feature/setup typescript 2021-02-12 11:42:00 +01:00
register.test.js Feature/setup typescript 2021-02-12 11:42:00 +01:00