Add an endpoint for getting diagnostic info about a given lock
Closed this issue · 2 comments
inlinestyle commented
It would help with debugging applications that use Lox if there were a way to check how many lock ids were checked out for a given lock.
I'm thinking something like
GET /lock?key=<my-lock-key>
That would return some JSON
{
"heldLocks": 5
}
thieman commented
+1
inlinestyle commented
Woooo