Skip to content

Commit

Permalink
Consider url parameter by RedisBroadcaster
Browse files Browse the repository at this point in the history
  • Loading branch information
christianHennig committed Jul 16, 2015
1 parent e12fe77 commit d366dda
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import org.atmosphere.cpr.AtmosphereConfig;
import org.atmosphere.cpr.Broadcaster;
import org.atmosphere.plugin.redis.RedisUtil;
import org.atmosphere.util.AbstractBroadcasterProxy;

import java.net.URI;
Expand All @@ -38,8 +39,6 @@ public Broadcaster initialize(String id, AtmosphereConfig config) {
}

public Broadcaster initialize(String id, URI uri, AtmosphereConfig config) {
// Ignore default.
uri = URI.create("http://localhost:6379");
super.initialize(id, uri, config);
this.redisUtil = new RedisUtil(uri, config, new RedisUtil.Callback() {
@Override
Expand Down

0 comments on commit d366dda

Please sign in to comment.