Skip to content
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

[NodeBundle] Remove old/incorrect doc about lock command #2420

Merged
merged 1 commit into from
Apr 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 2 additions & 8 deletions docs/bundles/node-bundle/locking.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Node version lock implementation in NodeBundle

The KunstmaanNodeBundle implements the [Symfony CMF](http://cmf.symfony.com/) [RoutingExtra](https://github.com/symfony-cmf/RoutingExtraBundle) bundle.

## Lock?

When you edit a node, and at the same time someone else edits the node, the node of the user who does the last save will be kept.
Expand All @@ -12,14 +10,10 @@ When saving the node, a new version of the page will be saved.

Enable this feature by using:

```yaml
kunstmaan_node:
lock:
enabled: true
threshold: 35 #seconds, optional
check_interval: 15 #seconds, optional

There is also a command that should be ran on cron for cleaning up those locks after the threshold is exceeded.

php bin/console kuma:nodes:clean-lock


```