Skip to content
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

cre8-app-gateway · module crawler_budget · src · 168 lines (124 code, 28 comment) · sha 091e81332f257d2e

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
CrawlerBudget::newsrc/crawler_budget.rs:60method31401.3
crawler_tokensrc/crawler_budget.rs:31fn126201.2
CrawlerBudget::admitsrc/crawler_budget.rs:71method226431.1
is_crawler_rules_pathsrc/crawler_budget.rs:45fn31100.8
CrawlerBudget::drop_idlesrc/crawler_budget.rs:96method92100.8
CrawlerBudget::from_envsrc/crawler_budget.rs:64method41120.5
crawlers_are_named_by_their_product_tokensrc/crawler_budget.rs:119fn132010.5
a_crawler_gets_its_burst_then_its_ratesrc/crawler_budget.rs:134fn171020.5
a_zero_rate_turns_the_cap_offsrc/crawler_budget.rs:153fn51020.5
invented_crawler_names_cannot_grow_the_table_without_boundsrc/crawler_budget.rs:160fn82020.5

Source not readable from this process.