mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[PR #34] [MERGED] remove channel should always redirect even if removal fails #873
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#873
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/healthchecks/healthchecks/pull/34
Author: @diwu1989
Created: 1/19/2016
Status: ✅ Merged
Merged: 1/20/2016
Merged by: @cuu508
Base:
master← Head:removeCHannel📝 Commits (2)
01a9505remove channel doesn't crash625d2cfcomment📊 Changes
2 files changed (+7 additions, -6 deletions)
View changed files
📝
hc/front/tests/test_remove_channel.py(+1 -1)📝
hc/front/views.py(+6 -5)📄 Description
removing the channel may be a slow operation and if the user refresh in the middle of the request, Chrome will make a 2nd POST request, which will end up erroring
I think it's better to always redirect the user to the channel list regardless of whether the removal UUID was valid or not, better than showing an error page if the user sends two removals simultaneously
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.