Increase capacity of element arena to 8MB

This fixes a panic we just saw on nightly. It's the first time we
see this panic, so I think it's pretty safe to assume having twice as
much capacity will fix it.
This commit is contained in:
Antonio Scandurra 2024-01-24 10:14:26 +01:00
parent c0b9f0a950
commit b640e0e7af

View file

@ -106,7 +106,7 @@ slotmap::new_key_type! {
}
thread_local! {
pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(4 * 1024 * 1024));
pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(8 * 1024 * 1024));
}
impl FocusId {