pinakes-server: bound session concurrency; handle JoinError; make analytics
retention configurable Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Iaa35af821862eeadba0a4f384b2aec2c6a6a6964
This commit is contained in:
parent
b24d4cbcdd
commit
01fc2021c0
6 changed files with 42 additions and 16 deletions
|
|
@ -185,6 +185,7 @@ async fn setup_app() -> axum::Router {
|
|||
transcode_service: None,
|
||||
managed_storage: None,
|
||||
chunked_upload_manager: None,
|
||||
session_semaphore: Arc::new(tokio::sync::Semaphore::new(64)),
|
||||
};
|
||||
|
||||
pinakes_server::app::create_router(state)
|
||||
|
|
@ -259,6 +260,7 @@ async fn setup_app_with_auth() -> (axum::Router, String, String, String) {
|
|||
transcode_service: None,
|
||||
managed_storage: None,
|
||||
chunked_upload_manager: None,
|
||||
session_semaphore: Arc::new(tokio::sync::Semaphore::new(64)),
|
||||
};
|
||||
|
||||
let app = pinakes_server::app::create_router(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue