gamechanger/lox

Add an endpoint for getting diagnostic info about a given lock

Closed this issue · 2 comments

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
}

+1

Woooo