HowToIncreaseTheLockDuration
|
Question
|
How do I increase or decrease the lock duration?
|
|
Answer
|
By default, when a user starts editing a document, he will put a lock on that document, notifying other users that somebody already is editing the page. This is called pessimistic edit locking, in technical terms. This lock is valid by default for 30 minutes, after which it gets invalidated.
In order to increase this duration, you must:
- Edit the XWiki.XWikiPrefernces document using the class editor
- Add a Number property named lock_Timeout (case sensitive)
- Edit the XWiki.XWikiPreferences document using the object editor
- Find the lock_Timeout property and put the desired number of seconds a lock should be valid for
- Don't forget to save the document
|