Added constants for cache keys
authorThierry Florac <thierry.florac@onf.fr>
Wed, 07 Jun 2017 09:30:54 +0200
changeset 9 cfac2a5b97bc
parent 8 ba4101a76da8
child 10 7dea2cd0fa8a
Added constants for cache keys
src/pyams_notify/interfaces/__init__.py
--- a/src/pyams_notify/interfaces/__init__.py	Tue Oct 11 16:02:43 2016 +0200
+++ b/src/pyams_notify/interfaces/__init__.py	Wed Jun 07 09:30:54 2017 +0200
@@ -24,7 +24,9 @@
 from pyams_notify import _
 
 
-MEMCACHED_QUEUE_KEY = b'_PyAMS_notify_messages_queue_'
+CACHE_CONFIGURATION_KEY = 'pyams_notify_ws.cache_server'
+
+CACHE_QUEUE_KEY = b'PyAMS:notify:messages_queue'
 
 
 class INotification(Interface):