mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
make reload_handles optional for creating Services
This will be useful for instantiating services in CLI subcommands, which have different requirements around observeability.
This commit is contained in:
parent
b03c2a15b3
commit
86481fd651
4 changed files with 9 additions and 5 deletions
|
|
@ -62,7 +62,7 @@ impl Services {
|
|||
>(
|
||||
db: &'static D,
|
||||
config: Config,
|
||||
reload_handles: FilterReloadHandles,
|
||||
reload_handles: Option<FilterReloadHandles>,
|
||||
) -> Result<Self> {
|
||||
Ok(Self {
|
||||
appservice: appservice::Service::build(db)?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue