# HG changeset patch # User Thierry Florac # Date 1496820654 -7200 # Node ID cfac2a5b97bc0fa72185f2432f0ee964e1586ffb # Parent ba4101a76da8ad1240eea7232aee2d5c6c736f1f Added constants for cache keys diff -r ba4101a76da8 -r cfac2a5b97bc 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):