graphql-schema-registry icon indicating copy to clipboard operation
graphql-schema-registry copied to clipboard

feat: Allow configuring the logical Redis DB to use

Open ngrewe opened this issue 1 year ago • 1 comments

Problem

Currently, the Redis DB is hardcoded to be 2, which means that there is the potential for conflicts when using a shared Redis instance where that DB index is already taken.

Changes

  • Added REDIS_DB environment variable to allow customising the logical Redis DB to use.

ngrewe avatar Mar 21 '23 03:03 ngrewe

Pull Request Test Coverage Report for Build 4475324393

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • 12 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 35.518%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/redis/index.ts 0 1 0.0%
<!-- Total: 0 1
Files with Coverage Reduction New Missed Lines %
src/redis/index.ts 12 63.64%
<!-- Total: 12
Totals Coverage Status
Change from base Build 4226722538: 0.0%
Covered Lines: 466
Relevant Lines: 1284

💛 - Coveralls

coveralls avatar Mar 21 '23 03:03 coveralls