Make the file_lock.FileLock the new default lock backend.

This commit is contained in:
Roberto Rosario
2017-01-16 00:16:35 -04:00
parent 1e91f62575
commit 3e898fd71b
2 changed files with 3 additions and 1 deletions

View File

@@ -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 permissions.
- Make the lock_manager.backends.file_lock.FileLock the new default locking backend.
Removals
--------
- Removal of the OCR_TESSERACT_PATH configuration setting.

View File

@@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _
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
namespace = Namespace(name='lock_manager', label=_('Lock manager'))