Skip to content

Add option to try other caches when NEAREST_CACHE fails #119

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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