Key adust
This commit is contained in:
@@ -396,7 +396,7 @@ class BaseService:
|
|||||||
def write_cache_data(cacheSection, cacheId, cacheData):
|
def write_cache_data(cacheSection, cacheId, cacheData):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cacheKey = cacheSection + '-' + cacheId
|
cacheKey = "MERMS:"+ cacheSection + ':' + cacheId
|
||||||
logger.info(f"write_cache_data () key {cacheKey}", exc_info=True)
|
logger.info(f"write_cache_data () key {cacheKey}", exc_info=True)
|
||||||
# Define connection parameters and connect
|
# Define connection parameters and connect
|
||||||
r = redis.Redis(host=BaseService.CACHE_SERVER, port=BaseService.CACHE_PORT,
|
r = redis.Redis(host=BaseService.CACHE_SERVER, port=BaseService.CACHE_PORT,
|
||||||
|
|||||||
Reference in New Issue
Block a user