Skip to content

Add option to try other caches when NEAREST_CACHE fails #119

@matyasselmeci

Description

@matyasselmeci

Now that #118 added trying multiple caches, it would be useful to have an environment variable that tells stashcp to try NEAREST_CACHE first, but still fall back to other caches. The use case for this is to set NEAREST_CACHE to a private cache, but fall back to the public caches if it's down or overloaded.

We could have it off by default and name it something like NEAREST_CACHE_FALLBACK=1, or on by default and name it something like NEAREST_CACHE_ONLY=1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions