Increased history capacity
This commit is contained in:
parent
eac140b26f
commit
00348cea4d
@ -15,7 +15,7 @@ impl NetworkScope for NetworkMain {
|
||||
type 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| {
|
||||
s.spawn(|| {
|
||||
|
||||
@ -55,7 +55,7 @@ impl<Ctx: ServersStorage> App for EguiApp<'_, Ctx> {
|
||||
.striped(true) // Alternating row colors
|
||||
.resizable(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())
|
||||
.header(20.0, |mut r| {
|
||||
|
||||
@ -17,7 +17,7 @@ pub(crate) fn draw_plot(
|
||||
canvas_rect.size().y,
|
||||
);
|
||||
|
||||
let gradient_precision = 25;
|
||||
let gradient_precision = 10;
|
||||
|
||||
times
|
||||
.take(sections_count)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user