graphql-schema-registry
graphql-schema-registry copied to clipboard
feat: Allow configuring the logical Redis DB to use
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.
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 | |
---|---|
Change from base Build 4226722538: | 0.0% |
Covered Lines: | 466 |
Relevant Lines: | 1284 |