Merge lp:~kalikiana/gearmand/redis-server-arg into lp:gearmand

Proposed by Christian Dywan on 2015-11-05
Status: Needs review
Proposed branch: lp:~kalikiana/gearmand/redis-server-arg
Merge into: lp:gearmand
Diff against target: 12 lines (+1/-1)
1 file modified
libgearman-server/plugins/queue/redis/queue.cc (+1/-1)
To merge this branch: bzr merge lp:~kalikiana/gearmand/redis-server-arg
Reviewer Review Type Date Requested Status
Tangent Trunk 2015-11-05 Pending
Review via email: mp+276818@code.launchpad.net

Commit message

Redis Queue Plugin: use --redis-server command line argument

To post a comment you must log in.

Unmerged revisions

909. By Christian Dywan on 2015-11-05

Redis Queue Plugin: use --redis-server command line argument

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libgearman-server/plugins/queue/redis/queue.cc'
2--- libgearman-server/plugins/queue/redis/queue.cc 2013-07-06 08:02:19 +0000
3+++ libgearman-server/plugins/queue/redis/queue.cc 2015-11-05 20:58:38 +0000
4@@ -116,7 +116,7 @@
5 gearmand_error_t Hiredis::initialize()
6 {
7 int service_port= atoi(service.c_str());
8- if ((_redis= redisConnect("127.0.0.1", service_port)) == NULL)
9+ if ((_redis= redisConnect(server.c_str(), service_port)) == NULL)
10 {
11 return gearmand_gerror("Could not connect to redis server", GEARMAND_QUEUE_ERROR);
12 }

Subscribers

People subscribed via source and target branches

to all changes: