Skip to content

Commit

Permalink
connection sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Linyuzai committed Jun 25, 2024
1 parent 931f4ff commit a636193
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.github.linyuzai.connection.loadbalance.core.server.ConnectionServer;
import com.github.linyuzai.connection.loadbalance.core.server.ConnectionServerManager;
import com.github.linyuzai.connection.loadbalance.core.server.ConnectionServerManagerFactory;
import com.github.linyuzai.connection.loadbalance.core.server.SimpleConnectionServerManagerFactory;
import com.github.linyuzai.connection.loadbalance.core.server.LocalConnectionServerManagerFactory;
import com.github.linyuzai.connection.loadbalance.websocket.EnableWebSocketLoadBalanceConcept;
import com.github.linyuzai.connection.loadbalance.websocket.concept.WebSocketEventListener;
import com.github.linyuzai.connection.loadbalance.websocket.concept.WebSocketMessageHandler;
Expand All @@ -26,7 +26,7 @@ public class WebSocketLoadBalanceConfig {

//@Bean
public ConnectionServerManagerFactory sampleConnectionServerManagerFactory() {
return new SimpleConnectionServerManagerFactory();
return new LocalConnectionServerManagerFactory();
}

@Bean
Expand Down

0 comments on commit a636193

Please sign in to comment.