1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,950 · python 20,426 · 6,405 files · digest 9ba5c926519d · built in 1.7 s · crystals off
crates/cre8-app-protocol/src/crystal_publisher.rs
Items
const MAX_INFLIGHT const CRYSTAL_MAX_PEERS_ENV const DEFAULT_CRYSTAL_PEER_LIMIT const MAX_CRYSTAL_PEER_LIMIT const PEER_TIMEOUT_SECS static INFLIGHT static EVENTS_FIRED static EVENTS_DROPPED_INFLIGHT static EVENTS_NOOP_NO_CRYSTAL static EVENTS_NOOP_NO_PEERS struct CrystalPublisherStats
Functions
By call-graph weight (PageRank; 1.0 is the average function). 11 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| crystal_peer_limitsrc/crystal_publisher.rs:134 | fn | 3 | 1 | 2 | 1 | 1.2 | |
| push_peer_urlsrc/crystal_publisher.rs:138 | fn | 10 | 4 | 2 | 0 | 1.2 | |
| statssrc/crystal_publisher.rs:52 | fn | 9 | 1 | 1 | 0 | 0.9 | |
| announce_consensus_crystalsrc/crystal_publisher.rs:68 | fn | 41 | 6 | 1 | 6 | 0.6 | |
| build_sync_messagesrc/crystal_publisher.rs:112 | fn | 5 | 1 | 1 | 1 | 0.6 | |
| enumerate_peer_urlssrc/crystal_publisher.rs:119 | fn | 9 | 3 | 1 | 2 | 0.6 | |
| configured_crystal_peer_limitsrc/crystal_publisher.rs:129 | fn | 4 | 1 | 1 | 2 | 0.6 | |
| max_inflight_is_nontrivialsrc/crystal_publisher.rs:154 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| crystal_peer_limit_defaults_and_capssrc/crystal_publisher.rs:160 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| push_peer_url_dedupes_normalizes_and_limitssrc/crystal_publisher.rs:168 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| stats_returns_current_atomic_valuessrc/crystal_publisher.rs:180 | fn | 4 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.