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-compute-core/src/config.rs

cre8-app-compute-core · module config · src · 809 lines (711 code, 21 comment) · sha 604b2cf986132628

Items

const DEFAULT_COMPUTE_MAX_SOURCE_BYTES const DEFAULT_COMPUTE_MAX_ENTRY_BYTES const DEFAULT_COMPUTE_MAX_STEPS_HARD const DEFAULT_COMPUTE_WORK_LEASE_TTL_MS const MIN_COMPUTE_WORK_LEASE_TTL_MS const MAX_COMPUTE_WORK_LEASE_TTL_MS const DEFAULT_COMPUTE_WORK_LEASE_AUTHORITY_EPOCH const DEFAULT_GPU_WORKER_MAX_BODY_BYTES const MAX_GPU_WORKER_MAX_BODY_BYTES struct DelegateTimeoutConfig impl DelegateTimeoutConfig struct ComputeLimitsConfig struct WorkLeaseAuthorityConfig impl WorkLeaseAuthorityConfig impl ComputeLimitsConfig struct GpuConfig impl GpuConfig struct LoopbackGpuConfig impl LoopbackGpuConfig struct SettlementChainConfig impl SettlementChainConfig enum SettlementStorageBackend impl SettlementStorageBackend struct SettlementLoopConfig impl SettlementLoopConfig struct PeerCapacityConfig impl PeerCapacityConfig struct ComputeConfig impl ComputeConfig static ENV_LOCK const CONFIG_ENV_KEYS struct EnvSnapshot impl EnvSnapshot impl Drop for EnvSnapshot static RESTORE_ENV_KEYS

Functions

By call-graph weight (PageRank; 1.0 is the average function). 42 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
env_stringsrc/config.rs:358fn311017.1
LoopbackGpuConfig::requested_worker_countsrc/config.rs:213method82402.6
DelegateTimeoutConfig::from_valuessrc/config.rs:45method71402.3
ComputeConfig::from_envsrc/config.rs:344method121582.2
env_bool_optsrc/config.rs:378fn73311.8
EnvSnapshot::capturesrc/config.rs:505method92201.8
env_string_defaultsrc/config.rs:366fn31411.6
ComputeLimitsConfig::from_envsrc/config.rs:143method151421.3
DelegateTimeoutConfig::from_envsrc/config.rs:37method71321.2
WorkLeaseAuthorityConfig::from_envsrc/config.rs:75method132151.1
env_bool_defaultsrc/config.rs:386fn31411.1
env_string_listsrc/config.rs:390fn51311.1
parse_gpu_worker_max_body_bytessrc/config.rs:223fn61201.1
with_clean_envsrc/config.rs:529fn102511
GpuConfig::configured_adaptersrc/config.rs:176method31200.9
WorkLeaseAuthorityConfig::from_valuessrc/config.rs:89method154200.9
default_work_lease_authority_idsrc/config.rs:106fn83200.9
GpuConfig::from_envsrc/config.rs:167method81220.8
LoopbackGpuConfig::from_envsrc/config.rs:196method161250.8
SettlementChainConfig::from_envsrc/config.rs:239method71210.8
SettlementLoopConfig::from_envsrc/config.rs:293method91230.8
PeerCapacityConfig::from_envsrc/config.rs:317method121240.8
SettlementStorageBackend::from_envsrc/config.rs:257method102210.8
env_u64_optsrc/config.rs:370fn31210.7
parse_required_positive_u64src/config.rs:115fn102100.7
parse_bounded_work_lease_ttlsrc/config.rs:126fn153100.7
env_pathsrc/config.rs:362fn31210.7
env_usize_optsrc/config.rs:374fn31210.7
SettlementStorageBackend::as_strsrc/config.rs:268method72000.5
work_lease_authority_config_is_bounded_and_fail_closedsrc/config.rs:456fn431020.5
EnvSnapshot::dropsrc/config.rs:517trait impl103000.5
env_snapshot_restores_existing_valuessrc/config.rs:541fn171010.5
delegate_timeout_config_preserves_defaultssrc/config.rs:560fn111010.5
delegate_timeout_config_clamps_pathological_valuessrc/config.rs:573fn71010.5
delegate_timeout_config_keeps_max_at_least_one_secondsrc/config.rs:582fn71010.5
gpu_worker_body_limit_preserves_legacy_boundssrc/config.rs:591fn61010.5
from_env_reads_delegate_and_compute_limitssrc/config.rs:599fn231030.5
gpu_and_loopback_config_parse_env_overridessrc/config.rs:624fn421050.5
loopback_requested_worker_count_uses_virtual_and_default_fallbackssrc/config.rs:668fn211010.5
settlement_and_peer_capacity_configs_parse_envsrc/config.rs:691fn521050.5
compute_config_aggregates_defaults_and_persistence_flagsrc/config.rs:745fn141030.5
env_helpers_trim_filter_parse_and_default_valuessrc/config.rs:761fn483090.5

Source not readable from this process.