1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-gateway/src/crawler_budget.rs
Items
const CRAWLER_RPS_ENV const DEFAULT_CRAWLER_RPS const CRAWLER_BURST const MAX_TRACKED_CRAWLERS const CRAWLER_RETRY_AFTER_SECS struct Bucket struct CrawlerBudget impl CrawlerBudget const CLAUDEBOT const GOOGLEBOT const CHROME
Functions
By call-graph weight (PageRank; 1.0 is the average function). 10 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| CrawlerBudget::newsrc/crawler_budget.rs:60 | method | 3 | 1 | 4 | 0 | 1.3 | |
| crawler_tokensrc/crawler_budget.rs:31 | fn | 12 | 6 | 2 | 0 | 1.2 | |
| CrawlerBudget::admitsrc/crawler_budget.rs:71 | method | 22 | 6 | 4 | 3 | 1.1 | |
| is_crawler_rules_pathsrc/crawler_budget.rs:45 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| CrawlerBudget::drop_idlesrc/crawler_budget.rs:96 | method | 9 | 2 | 1 | 0 | 0.8 | |
| CrawlerBudget::from_envsrc/crawler_budget.rs:64 | method | 4 | 1 | 1 | 2 | 0.5 | |
| crawlers_are_named_by_their_product_tokensrc/crawler_budget.rs:119 | fn | 13 | 2 | 0 | 1 | 0.5 | |
| a_crawler_gets_its_burst_then_its_ratesrc/crawler_budget.rs:134 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| a_zero_rate_turns_the_cap_offsrc/crawler_budget.rs:153 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| invented_crawler_names_cannot_grow_the_table_without_boundsrc/crawler_budget.rs:160 | fn | 8 | 2 | 0 | 2 | 0.5 |
Source not readable from this process.