Autostart a redis instance in nix shell. #22

Merged
inex merged 2 commits from redis/nixshell-redis-autostart into redis/connection-pool 2022-11-28 14:50:57 +02:00

2 Commits (master)

Author SHA1 Message Date
Inex Code 57794c9535 style(graphql): Add missing comma
\
2022-11-28 15:49:48 +03:00
Houkime 2e9cdf15ab Autostart a redis instance in nix shell.
As a part of test environment, an unprivileged redis server is started on localhost:6379.
Redis connection pool detects when it is run in a development nix shell
and uses this port instead of a production unix socket. This way, redis
tests pass even on computers without redis installed.
2022-11-28 14:38:21 +02:00