mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #265] Non-parallel run/lock mode #196
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#196
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?
Originally created by @ttr on GitHub (Jul 4, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/265
Hi,
Would be possible to have optional switch in check definition to allow only single run?
So if check is already running/started, throw error if another request to /start is received.
This way, if we have scheduled tasks that could overlap, healtcheck can be used as distributed locking system.
@cuu508 commented on GitHub (Jul 19, 2019):
Hello,
by throwing an error do you mean returning a non-200 response to the ping HTTP request?
@ttr commented on GitHub (Jul 23, 2019):
That would be quicker to check in scripts, but even json reply with information that job is already started could be sufficient.
@cuu508 commented on GitHub (Jun 20, 2022):
Thanks for the suggestion! This is doable but a little too far outside the project's current scope.