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

@nick1udwig
Copy link
Member

Was this replaced by #858? If so can we close this?

@dolled-possum
Copy link
Collaborator Author

Oh right, #858 replaced this one too! Closing...

@dolled-possum dolled-possum deleted the dw/default-sources branch October 10, 2025 11:41
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.

3 participants