forked from lavina/lavina
1
0
Fork 0

un-arc cluster metadata

This commit is contained in:
Nikita Vilunov 2024-05-11 14:48:08 +02:00
parent a8a4b1c490
commit 2fa1ddb7e6
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ pub struct Services {
pub(crate) broadcasting: Broadcasting,
pub(crate) client: LavinaClient,
pub(crate) storage: Storage,
pub(crate) cluster_metadata: Arc<ClusterMetadata>,
pub(crate) cluster_metadata: ClusterMetadata,
}
impl LavinaCore {
@ -88,7 +88,7 @@ impl LavinaCore {
broadcasting,
client,
storage,
cluster_metadata: Arc::new(cluster_config.metadata),
cluster_metadata: cluster_config.metadata,
};
Ok(LavinaCore {