Skip to content

Conversation

dolled-possum
Copy link
Collaborator

Problem

Allow users to specify default RPC and node cache source overrides so that they aren't stuck using our defaults

Solution

RPC already allows default overriding, now cache source does do.

Still requires doc, will edit this description and add it as I test and review.

@dolled-possum dolled-possum marked this pull request as draft August 28, 2025 16:09
drive_path: drive_path.to_string(),
is_providing: false,
nodes: DEFAULT_NODES.iter().map(|s| s.to_string()).collect(),
nodes: load_cache_sources(std::env::var("CACHE_SOURCE_CONFIG_PATH").ok().as_deref())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be surprised if this works: I think we need to do some special things when starting a process for it to see env vars

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.

2 participants