rename constructor for globals service

This commit is contained in:
Charles Hall 2024-10-08 16:37:38 -07:00
parent 55b605f046
commit fefc84e8c7
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 2 additions and 2 deletions

View file

@ -179,7 +179,7 @@ impl Services {
}, },
sending: sending::Service::new(db, &config), sending: sending::Service::new(db, &config),
globals: globals::Service::load(db, config, reload_handles)?, globals: globals::Service::new(db, config, reload_handles)?,
}) })
} }

View file

@ -197,7 +197,7 @@ impl Resolve for Resolver {
impl Service { impl Service {
#[tracing::instrument(skip_all)] #[tracing::instrument(skip_all)]
pub(crate) fn load( pub(crate) fn new(
db: &'static dyn Data, db: &'static dyn Data,
config: Config, config: Config,
reload_handles: Option<FilterReloadHandles>, reload_handles: Option<FilterReloadHandles>,