Make the file_lock.FileLock the new default lock backend.
This commit is contained in:
@@ -47,6 +47,8 @@ calling the Tesseract executable.
|
|||||||
- API endpoint to view or change a role's groups.
|
- API endpoint to view or change a role's groups.
|
||||||
- API endpoint to view or change a role's permissions.
|
- API endpoint to view or change a role's permissions.
|
||||||
|
|
||||||
|
- Make the lock_manager.backends.file_lock.FileLock the new default locking backend.
|
||||||
|
|
||||||
Removals
|
Removals
|
||||||
--------
|
--------
|
||||||
- Removal of the OCR_TESSERACT_PATH configuration setting.
|
- Removal of the OCR_TESSERACT_PATH configuration setting.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _
|
|||||||
|
|
||||||
from smart_settings import Namespace
|
from smart_settings import Namespace
|
||||||
|
|
||||||
DEFAULT_BACKEND = 'lock_manager.backends.model_lock.ModelLock'
|
DEFAULT_BACKEND = 'lock_manager.backends.file_lock.FileLock'
|
||||||
DEFAULT_LOCK_TIMEOUT_VALUE = 30
|
DEFAULT_LOCK_TIMEOUT_VALUE = 30
|
||||||
|
|
||||||
namespace = Namespace(name='lock_manager', label=_('Lock manager'))
|
namespace = Namespace(name='lock_manager', label=_('Lock manager'))
|
||||||
|
|||||||
Reference in New Issue
Block a user