mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 16:21:24 +01:00
move FoundIn to observability.rs
This commit is contained in:
parent
0bd2c43dab
commit
22dd7f1a54
9 changed files with 43 additions and 53 deletions
|
|
@ -1,10 +1,7 @@
|
|||
use std::{collections::HashSet, mem::size_of, sync::Arc};
|
||||
|
||||
use crate::{
|
||||
database::KeyValueDatabase,
|
||||
service,
|
||||
utils::{self, FoundIn},
|
||||
Result,
|
||||
database::KeyValueDatabase, observability::FoundIn, service, utils, Result,
|
||||
};
|
||||
|
||||
impl service::rooms::auth_chain::Data for KeyValueDatabase {
|
||||
|
|
|
|||
|
|
@ -3,10 +3,8 @@ use std::sync::Arc;
|
|||
use ruma::{events::StateEventType, EventId, RoomId};
|
||||
|
||||
use crate::{
|
||||
database::KeyValueDatabase,
|
||||
service, services,
|
||||
utils::{self, FoundIn},
|
||||
Error, Result,
|
||||
database::KeyValueDatabase, observability::FoundIn, service, services,
|
||||
utils, Error, Result,
|
||||
};
|
||||
|
||||
impl service::rooms::short::Data for KeyValueDatabase {
|
||||
|
|
|
|||
|
|
@ -8,10 +8,9 @@ use ruma::{
|
|||
|
||||
use crate::{
|
||||
database::KeyValueDatabase,
|
||||
observability::FoundIn,
|
||||
service::{self, appservice::RegistrationInfo},
|
||||
services,
|
||||
utils::{self, FoundIn},
|
||||
Error, Result,
|
||||
services, utils, Error, Result,
|
||||
};
|
||||
|
||||
impl service::rooms::state_cache::Data for KeyValueDatabase {
|
||||
|
|
|
|||
|
|
@ -8,10 +8,8 @@ use service::rooms::timeline::PduCount;
|
|||
use tracing::error;
|
||||
|
||||
use crate::{
|
||||
database::KeyValueDatabase,
|
||||
service, services,
|
||||
utils::{self, FoundIn},
|
||||
Error, PduEvent, Result,
|
||||
database::KeyValueDatabase, observability::FoundIn, service, services,
|
||||
utils, Error, PduEvent, Result,
|
||||
};
|
||||
|
||||
impl service::rooms::timeline::Data for KeyValueDatabase {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue