mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:11:48 +00:00
`REDIS_ENDPOINT` is now registered by gateway, but it is also registered in `internal/redispool` as the fallback for when the other values are not set. The real fix would be to not have env vars in that package, and instead each service creates one instance of each of those two in their `cmd/`, but that's a lot of work so short-term fixing it by reading the fallback using os.Getenv. Test plan: `sg run cody-gateway` doesn't panic. --------- Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr> |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| CODENOTIFY | ||
| keyvalue_test.go | ||
| keyvalue.go | ||
| mocks.go | ||
| NOTICE | ||
| redispool_test.go | ||
| redispool.go | ||
| sysreq.go | ||
| utils.go | ||