Skip to content

Add BLOCKED_ROUTES environment variable #3892

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

Merged
merged 3 commits into from
Sep 26, 2021

Conversation

pietroalbini
Copy link
Member

This PR adds the BLOCKED_ROUTES environment variable, which allows to block individual routes through the environment. This is going to be useful during incident response if we need to block an individual route (for example if the route is degrading the performance of the database), as it would remove the need to deploy an hotfix to disable that route.

r? @jtgeibel

@Turbo87 Turbo87 added A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear labels Sep 6, 2021
@pietroalbini
Copy link
Member Author

Addressed review feedback.

@pietroalbini
Copy link
Member Author

@bors r=Turbo87

@bors
Copy link
Contributor

bors commented Sep 26, 2021

📌 Commit bdd4402 has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Sep 26, 2021

⌛ Testing commit bdd4402 with merge 1410ed7...

@bors
Copy link
Contributor

bors commented Sep 26, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing 1410ed7 to master...

@bors bors merged commit 1410ed7 into rust-lang:master Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants