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
Collaborator

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. Precise port can be changed to avoid conflicts.

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. Precise port can be changed to avoid conflicts.
houkime requested review from inex 2022-11-28 13:59:40 +02:00
inex force-pushed redis/nixshell-redis-autostart from eebb43563c to 2e9cdf15ab 2022-11-28 14:38:23 +02:00 Compare
inex added 1 commit 2022-11-28 14:50:34 +02:00
inex approved these changes 2022-11-28 14:50:51 +02:00
inex merged commit 60919b88b9 into redis/connection-pool 2022-11-28 14:50:57 +02:00
inex deleted branch redis/nixshell-redis-autostart 2022-11-28 14:50:57 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy-rest-api#22
There is no content yet.