You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Reimplementation of a postgres-backed storage with a shared PG listener
This commit is contained in:
@ -110,7 +110,7 @@ impl Options {
|
||||
config.matrix.secret.clone(),
|
||||
http_client_factory,
|
||||
);
|
||||
let monitor = mas_tasks::init(&worker_name, &pool, &mailer, conn);
|
||||
let monitor = mas_tasks::init(&worker_name, &pool, &mailer, conn).await?;
|
||||
// TODO: grab the handle
|
||||
tokio::spawn(monitor.run());
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ impl Options {
|
||||
let worker_name = Alphanumeric.sample_string(&mut rng, 10);
|
||||
|
||||
info!(worker_name, "Starting task scheduler");
|
||||
let monitor = mas_tasks::init(&worker_name, &pool, &mailer, conn);
|
||||
let monitor = mas_tasks::init(&worker_name, &pool, &mailer, conn).await?;
|
||||
|
||||
span.exit();
|
||||
|
||||
|
Reference in New Issue
Block a user