Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add a "bypass" environment variable #7

Open
abeforgit opened this issue Mar 13, 2024 · 2 comments
Open

Feature: add a "bypass" environment variable #7

abeforgit opened this issue Mar 13, 2024 · 2 comments

Comments

@abeforgit
Copy link

Sometimes when debugging/developing around the cache, it can be handy to disable it without messing up the dispatcher configuration. A sort of "bypass" environment variable which would cause the cache to "always miss" would be a nice-to-have.

@erikap
Copy link
Member

erikap commented Mar 14, 2024

@abeforgit Isn't it an option to temporarily link resource as cache in dispatcher like

services:
  dispatcher:
    image: semtech/mu-dispatcher:2.1.0-beta.2
    volumes:
      - ./config/dispatcher:/config
    links:
      - resource:cache   

@abeforgit
Copy link
Author

Ooh cool idea! Ill give it a try, thanks!

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

No branches or pull requests

2 participants