Skip to content

Add DB Unlock Web Console Commands #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 12, 2019
Merged

Add DB Unlock Web Console Commands #63

merged 4 commits into from
Feb 12, 2019

Conversation

benloh
Copy link
Collaborator

@benloh benloh commented Feb 3, 2019

This adds three web console commands for handling network errors:

ncUnlockAll() will unlock all nodes and edges.
ncUnlockAllNodes() will unlock all nodes (and not edges).
ncUnlockAllEdges() will unlock all edges (and not nodes).

Use this with caution as any legitimately locked nodes and edges will also be unlocked. So for instance, if someone is editing "Alexander", and you call ncUnlockAll(), then "Alexander" will be unlocked and a second person could start editing it.

To use:

  1. On the server machine, open a web console.
  2. Type ncUnlockAll() and hit return.

--

It also makes a minor adjustment on the EdgeTables to make them line up better.

@kalanicraig
Copy link
Collaborator

kalanicraig commented Feb 4, 2019 via email

@benloh
Copy link
Collaborator Author

benloh commented Feb 4, 2019

This was branched off of network fixes so it includes everything.

@benloh benloh merged commit 19728ab into dev Feb 12, 2019
@benloh benloh deleted the dev-bl/add-unlock-cmd branch February 12, 2019 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants