diff --git a/backend/src/backend/primary/user_session_proxy.py b/backend/src/backend/primary/user_session_proxy.py index 5f5c5c8a7..a05095670 100644 --- a/backend/src/backend/primary/user_session_proxy.py +++ b/backend/src/backend/primary/user_session_proxy.py @@ -25,10 +25,10 @@ def __init__(self, name: str, port: int) -> None: self._redis_client = redis.Redis(host="redis-user-session", port=6379, decode_responses=True) def _get_job_name(self, user_id: str) -> Optional[str]: - return self._redis_client.get("user-session-" + user_id) + return self._redis_client.get("user-job-name-" + user_id) def _set_job_name(self, user_id: str, job_name: str) -> None: - self._redis_client.set("user-session-" + user_id, job_name) + self._redis_client.set("user-job-name-" + user_id, job_name) async def _active_running_job(self, user_id: str) -> bool: """Returns true if there already is a running job for logged in user."""