Skip to content

Commit

Permalink
fix: remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuoTiJia committed Oct 18, 2023
1 parent f8baeeb commit 9c6359f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions tskv/src/database.rs
Expand Up @@ -40,8 +40,6 @@ pub struct Database {
schemas: Arc<DBschemas>,
ts_indexes: HashMap<TseriesFamilyId, Arc<index::ts_index::TSIndex>>,
ts_families: HashMap<TseriesFamilyId, Arc<RwLock<TseriesFamily>>>,
memory_pool: MemoryPoolRef,
metrics_register: Arc<MetricsRegister>,
tsf_factory: TsfFactory,
}

Expand Down Expand Up @@ -102,8 +100,6 @@ impl Database {
schemas: Arc::new(DBschemas::new(schema, meta).await.context(SchemaSnafu)?),
ts_indexes: HashMap::new(),
ts_families: HashMap::new(),
memory_pool,
metrics_register,
tsf_factory,
};

Expand Down
2 changes: 0 additions & 2 deletions tskv/src/tseries_family.rs
Expand Up @@ -714,9 +714,7 @@ impl TsfFactory {
metrics_register,
}
}
}

impl TsfFactory {
pub fn create_tsf(
&self,
tf_id: TseriesFamilyId,
Expand Down

0 comments on commit 9c6359f

Please sign in to comment.