Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a limit to the WebSocket/WebRTC messages queue #312

Merged
merged 2 commits into from
Mar 18, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Mar 17, 2023

cc #109

@github-actions
Copy link

github-actions bot commented Mar 17, 2023

twiggy diff report

Difference in .wasm size before and after this pull request.


 Delta Bytes │ Item
─────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
        +849 ┊ alloc::collections::btree::node::BalancingContext<K,V>::bulk_steal_right::hca9b471eda37355b
        -826 ┊ alloc::collections::btree::remove::<impl alloc::collections::btree::node::Handle<alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::Leaf>,alloc::collections::btree::node::marker::KV>>::remove_leaf_kv::h144b3eba91860a37
        +816 ┊ alloc::collections::btree::node::BalancingContext<K,V>::bulk_steal_left::hd0512c4d151db52a
        -768 ┊ alloc::collections::btree::node::BalancingContext<K,V>::bulk_steal_right::ha94ededf3fe65dcf
        +754 ┊ alloc::collections::btree::remove::<impl alloc::collections::btree::node::Handle<alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::Leaf>,alloc::collections::btree::node::marker::KV>>::remove_leaf_kv::h12b51969e2147871
        -739 ┊ alloc::collections::btree::node::BalancingContext<K,V>::bulk_steal_left::ha507714bdebd900a
        -674 ┊ alloc::collections::btree::fix::<impl alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::LeafOrInternal>>::fix_node_through_parent::h629e5d587814f78d
        +674 ┊ alloc::collections::btree::fix::<impl alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::LeafOrInternal>>::fix_node_through_parent::h877b747d3cb1cf27
        +673 ┊ alloc::collections::btree::node::Handle<alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::Leaf>,alloc::collections::btree::node::marker::Edge>::insert_recursing::h9d3d8a98e936072c
        +615 ┊ alloc::collections::btree::node::BalancingContext<K,V>::do_merge::h3c5eee2ed6eda729
        +615 ┊ alloc::collections::btree::node::BalancingContext<K,V>::do_merge::hd88edcebeeac3291
        -595 ┊ alloc::collections::btree::node::Handle<alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::Leaf>,alloc::collections::btree::node::marker::Edge>::insert_recursing::h88f2e8071bceec45
        -575 ┊ alloc::collections::btree::node::BalancingContext<K,V>::do_merge::h2b3144bc52299e22
        -575 ┊ alloc::collections::btree::node::BalancingContext<K,V>::do_merge::h9a1843a4d6f46ce5
        +573 ┊ alloc::collections::btree::map::entry::VacantEntry<K,V,A>::insert::h1ad065bd4b68a65c
        +560 ┊ alloc::collections::btree::remove::<impl alloc::collections::btree::node::Handle<alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::Internal>,alloc::collections::btree::node::marker::KV>>::remove_internal_kv::hc72ce0e98a6f7a73
        +523 ┊ alloc::collections::btree::navigate::<impl alloc::collections::btree::node::NodeRef<BorrowType,K,V,alloc::collections::btree::node::marker::LeafOrInternal>>::find_leaf_edges_spanning_range::he56f7dbc2837db25
        -518 ┊ alloc::collections::btree::map::entry::VacantEntry<K,V,A>::insert::h68b16b1e7f5597a8
        -507 ┊ alloc::collections::btree::remove::<impl alloc::collections::btree::node::Handle<alloc::collections::btree::node::NodeRef<alloc::collections::btree::node::marker::Mut,K,V,alloc::collections::btree::node::marker::Internal>,alloc::collections::btree::node::marker::KV>>::remove_internal_kv::h076426ec82f7a8e1
        -459 ┊ alloc::collections::btree::search::<impl alloc::collections::btree::node::NodeRef<BorrowType,K,V,alloc::collections::btree::node::marker::LeafOrInternal>>::search_tree_for_bifurcation::h2b117240e9654d90
       +3958 ┊ ... and 335 more.
       +6068 ┊ Σ [355 Total Rows]

@tomaka tomaka added this pull request to the merge queue Mar 18, 2023
@tomaka tomaka merged commit 3ec0c6f into smol-dot:main Mar 18, 2023
@tomaka tomaka deleted the dos-limit-check branch March 18, 2023 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant