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
Switch to event-listener for in-process job notifications
This commit is contained in:
@@ -105,7 +105,9 @@ pub(crate) fn register(
|
||||
.layer(state.inject())
|
||||
.layer(trace_layer())
|
||||
.layer(metrics_layer())
|
||||
.with_storage(storage)
|
||||
.with_storage_config(storage, |c| {
|
||||
c.fetch_interval(std::time::Duration::from_secs(1))
|
||||
})
|
||||
.build_fn(verify_email);
|
||||
monitor.register(worker)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user