Increased history capacity

This commit is contained in:
Andrew Golovashevich 2026-03-11 01:21:42 +03:00
parent eac140b26f
commit 00348cea4d
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ impl NetworkScope for NetworkMain {
type R = (); type R = ();
fn run<Ctx: NetworkContext>(self, network: &mut Ctx) -> Self::R { fn run<Ctx: NetworkContext>(self, network: &mut Ctx) -> Self::R {
let mut storage = Arc::new(SynchronizedServersStorage::<Ctx::Address>::new(10)); let mut storage = Arc::new(SynchronizedServersStorage::<Ctx::Address>::new(100));
thread::scope(|s| { thread::scope(|s| {
s.spawn(|| { s.spawn(|| {

View File

@ -55,7 +55,7 @@ impl<Ctx: ServersStorage> App for EguiApp<'_, Ctx> {
.striped(true) // Alternating row colors .striped(true) // Alternating row colors
.resizable(true) .resizable(true)
.vscroll(true) .vscroll(true)
.column(Column::exact(self.ctx.graph_sections_count() as f32 * 20.0)) .column(Column::exact(self.ctx.graph_sections_count() as f32 * 5.0))
.column(Column::remainder()) .column(Column::remainder())
.column(Column::remainder()) .column(Column::remainder())
.header(20.0, |mut r| { .header(20.0, |mut r| {

View File

@ -17,7 +17,7 @@ pub(crate) fn draw_plot(
canvas_rect.size().y, canvas_rect.size().y,
); );
let gradient_precision = 25; let gradient_precision = 10;
times times
.take(sections_count) .take(sections_count)