Fix high memory usage during search (#798)

* Fix high memory usage during search

* Fix settings lag

* Fix clippy + fmt
This commit is contained in:
Geometrically
2023-12-12 20:11:56 -07:00
committed by GitHub
parent 00e55b1874
commit f53b6b550f
6 changed files with 108 additions and 162 deletions

View File

@@ -1,4 +1,3 @@
mod admin;
mod moderation;
mod notifications;
pub(crate) mod project_creation;
@@ -20,7 +19,7 @@ pub fn config(cfg: &mut actix_web::web::ServiceConfig) {
cfg.service(
actix_web::web::scope("v2")
.wrap(default_cors())
.configure(admin::config)
.configure(super::internal::admin::config)
// Todo: separate these- they need to also follow v2-v3 conversion
.configure(super::internal::session::config)
.configure(super::internal::flows::config)