--- a/src/pyams_utils/lock.py Mon Jun 19 15:38:44 2017 +0200
+++ b/src/pyams_utils/lock.py Mon Jun 19 15:43:27 2017 +0200
@@ -54,7 +54,7 @@
"""
def __init__(self, name, wait=True):
- self.key = 'PyAMS_lock::{0}'.format(name)
+ self.key = 'PyAMS::lock::{0}'.format(name)
self.wait = wait
self.has_lock = False
--- a/src/pyams_utils/progress.py Mon Jun 19 15:38:44 2017 +0200
+++ b/src/pyams_utils/progress.py Mon Jun 19 15:43:27 2017 +0200
@@ -30,8 +30,8 @@
PROGRESS_CACHE_NAME = 'PyAMS::progress'
-PROGRESS_LOCK_NAME = 'PyAMS::progress::lock'
PROGRESS_TASKS_CACHE_KEY = 'PyAMS::progress::running_tasks'
+PROGRESS_LOCK_NAME = 'tasks_progress_lock'
PROGRESS_TASK_KEY = 'PyAMS::progress::task::{0}'