Increased history capacity
This commit is contained in:
parent
eac140b26f
commit
00348cea4d
@ -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(|| {
|
||||||
|
|||||||
@ -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| {
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user