pinakes-server: wire backup, session refresh, webhooks, and rate limit config
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: If2855d44cc700c0f65a5f5ac850ee3866a6a6964
This commit is contained in:
parent
4e91cb6679
commit
52f0b5defc
8 changed files with 257 additions and 105 deletions
|
|
@ -11,6 +11,7 @@ use pinakes_core::{
|
|||
storage::DynStorageBackend,
|
||||
sync::ChunkedUploadManager,
|
||||
transcode::TranscodeService,
|
||||
webhooks::WebhookDispatcher,
|
||||
};
|
||||
use tokio::sync::{RwLock, Semaphore};
|
||||
|
||||
|
|
@ -34,5 +35,6 @@ pub struct AppState {
|
|||
pub transcode_service: Option<Arc<TranscodeService>>,
|
||||
pub managed_storage: Option<Arc<ManagedStorageService>>,
|
||||
pub chunked_upload_manager: Option<Arc<ChunkedUploadManager>>,
|
||||
pub webhook_dispatcher: Option<Arc<WebhookDispatcher>>,
|
||||
pub session_semaphore: Arc<Semaphore>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue