You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Schedule jobs through the repository
This commit is contained in:
@@ -107,12 +107,6 @@ impl FromRef<AppState> for PasswordManager {
|
||||
}
|
||||
}
|
||||
|
||||
impl<J: apalis_core::job::Job> FromRef<AppState> for apalis_sql::postgres::PostgresStorage<J> {
|
||||
fn from_ref(input: &AppState) -> Self {
|
||||
apalis_sql::postgres::PostgresStorage::new(input.pool.clone())
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl FromRequestParts<AppState> for BoxClock {
|
||||
type Rejection = Infallible;
|
||||
|
||||
Reference in New Issue
Block a user