Skip to content

[Refactoring] Change redis db id in use #466

@ChoHadam

Description

@ChoHadam

리팩토링 배경

server profile 별로 다른 redis db id를 사용 중인데,
default id로 지정된 id 0을 사용하지 않도록 db id를 일괄 수정하고자 합니다.

redis 연결할 때 db id를 따로 지정하지 않으면 자동으로 0id에 연결되는데,
이는 0id에 저장된 데이터가 의도치 않게 변경될 수 있는 상황을 야기할 수 있습니다.

리팩토링 방법

  • Modify some code to not use redis db id 0.
  • Change the values of the environment variable REDIS_DB_ID injected when running the server.

리팩토링 개선된 점

관련 링크 / 참조

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions