Commit Graph

20 Commits

Author SHA1 Message Date
frbimo
6465a3f549 refactor /health on meilisearch-http that complies:
1. NEEDS to ensure that service is completely up if it returns 204
2. DOES NOT block service process (write transaction)
3. NEEDS to use the less network bandwidth as possible when it's triggered
4. NEEDS to use the less service resources as possible when it's triggered
5. DOES NOT NEED any authentication
6. MAY be named /health
2020-10-19 14:30:43 +08:00
Rob Ede
ba0f44e361
upgrade actix-web to v3 2020-09-21 22:37:54 +01:00
Rio Kierkels
9b46887f75
chore(http): do not require auth on /health endpoint
This makes it easier to determine the health of the server using http.

closes #822
2020-07-01 16:33:01 +02:00
mpostma
8a2e60dc09 requested changes 2020-05-28 19:19:26 +02:00
mpostma
05344043b2 style fixes 2020-05-28 16:28:37 +02:00
mpostma
3bd15a4195 fix tests, restore behavior 2020-05-28 16:23:46 +02:00
mpostma
d69180ec67 refactor errors / isolate core/http errors 2020-05-28 16:23:46 +02:00
mpostma
e2db197b3f change ResponseError to Error 2020-05-28 16:23:46 +02:00
Nicolas DUDNICZENKO
2d2c933611 typo in route/health.rs: HealtBody -> HealthBody 2020-05-20 11:57:44 +02:00
Quentin de Quelen
bc8ff49de3
update authorization middleware with actix-web-macros 2020-04-28 17:46:03 +02:00
Quentin de Quelen
e74d2c1872
simplify error handling by impl errors traits on ResponseError 2020-04-28 17:46:03 +02:00
Quentin de Quelen
6a1f73a304
clippy + fmt 2020-04-28 17:45:22 +02:00
Quentin de Quelen
5ec130e6dc
cleanup 2020-04-28 17:45:22 +02:00
Quentin de Quelen
540308dc63
add interface endpoint & health endpoint 2020-04-28 17:45:21 +02:00
qdequele
257b7b4df4
introduce new key management 2020-02-14 12:54:07 +01:00
qdequele
c276dda305
run cargo fmt 2020-02-11 15:27:58 +01:00
qdequele
b71bbcffaa
simplify error handling 2020-02-11 15:27:56 +01:00
qdequele
0e12920910
bump tide version 2020-02-11 15:27:55 +01:00
Clément Renault
d08b76a323
Separate the update and main databases
We used the heed typed transaction to make it safe (https://github.com/Kerollmops/heed/pull/27).
2019-11-27 11:29:06 +01:00
Clément Renault
7cc096e0a2
Rename MeiliDB into MeiliSearch 2019-11-26 11:12:30 +01:00