diff --git a/backend-manager-student/src/share/configs/constants.js b/backend-manager-student/src/share/configs/constants.js index 4791450..3d28e31 100644 --- a/backend-manager-student/src/share/configs/constants.js +++ b/backend-manager-student/src/share/configs/constants.js @@ -364,6 +364,6 @@ module.exports = { * @param { String } */ // Student - KEY_USER_EXIT_U: 'user_api*', - DELETE_KEY_CACHE_LRU: 'user_api_delete_key_lru', + KEY_USER_EXIT_U: 'student_api*', + DELETE_KEY_CACHE_LRU: 'student_api_delete_key_lru', }; diff --git a/backend-manager-student/src/share/db/redis_queue.js b/backend-manager-student/src/share/db/redis_queue.js index 2953cc2..9ad1c20 100644 --- a/backend-manager-student/src/share/db/redis_queue.js +++ b/backend-manager-student/src/share/db/redis_queue.js @@ -2,11 +2,11 @@ const IOREDIS = require('ioredis'); //! SHARE -const CONSTANTS = require('../configs/constants') +const CONSTANTS = require('../configs/constants'); const CONFIGS = require('../configs/config'); //! Queue -const { userChannelHandlers } = require('../../user_api/v1/queue/queue_redis') +const { userChannelHandlers } = require('../../user_api/v1/queue/queue_redis'); //! DB const REDIS_MASTER = new IOREDIS({ diff --git a/backend-manager-student/src/user_api/v1/queue/queue_redis.js b/backend-manager-student/src/user_api/v1/queue/queue_redis.js index d05e188..b2d0699 100644 --- a/backend-manager-student/src/user_api/v1/queue/queue_redis.js +++ b/backend-manager-student/src/user_api/v1/queue/queue_redis.js @@ -14,4 +14,4 @@ const CONSTANTS = require('../../../share/configs/constants'); const userChannelHandlers = new Map(); userChannelHandlers.set(CONSTANTS.DELETE_KEY_CACHE_LRU, book_user.deleteKeyLRU); -module.exports = { userChannelHandlers } +module.exports = { userChannelHandlers };