Skip to content

Commit

Permalink
Added avg
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Jan 8, 2024
1 parent 87edb4d commit 984ac05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion my-no-sql-core/src/db/db_table/db_table_master_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::BTreeMap;

use rust_extensions::date_time::DateTimeAsMicroseconds;

use super::{DataToGc, DbPartitionsContainer, DbTable, DbTableAttributes};
use super::{AvgSize, DataToGc, DbPartitionsContainer, DbTable, DbTableAttributes};

impl DbTable {
pub fn new(name: String, attributes: DbTableAttributes) -> Self {
Expand All @@ -11,6 +11,7 @@ impl DbTable {
partitions: DbPartitionsContainer::new(),
last_write_moment: DateTimeAsMicroseconds::now(),
attributes,
avg_size: AvgSize::new(),
}
}

Expand Down

0 comments on commit 984ac05

Please sign in to comment.