Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@captncraig
Copy link
Contributor

adds endpoint at /api/debug/schedlock

data is simply {"Process":"","HeldFor":""} if lock is available, or {"Process":"RunHistory","HeldFor":"9ms"} if lock is currently held.

captncraig added a commit that referenced this pull request Jul 30, 2015
cmd/bosun: adding debug endpoint to view status of schedule lock.
@captncraig captncraig merged commit 39ade6c into master Jul 30, 2015
@captncraig captncraig deleted the lockDebug branch July 30, 2015 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants