1
0

Index swapping when meilisearch reindex (#853)

* cycling indices

* removed printlns

* uses swap indices instead

* Bring back deletion

* Fix tests

* Fix version deletion

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
This commit is contained in:
Wyatt Verchere
2024-01-13 14:40:30 -08:00
committed by GitHub
parent d1a09d0b95
commit 0aebf37ef8
5 changed files with 109 additions and 17 deletions

View File

@@ -838,7 +838,7 @@ pub async fn version_list(
pub async fn version_delete(
req: HttpRequest,
info: web::Path<(models::ids::VersionId,)>,
info: web::Path<(VersionId,)>,
pool: web::Data<PgPool>,
redis: web::Data<RedisPool>,
session_queue: web::Data<AuthQueue>,