Permalink
Browse files

fixing example

  • Loading branch information...
1 parent 56d531b commit 30fb9b4e7103ab5e9859cfe4756b846e68d4bfa4 @ssbanerje ssbanerje committed Nov 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/load-balancing/loadbalancing_dns.js
@@ -10,7 +10,7 @@ ndns.poller.server.createServer(5000);
var dns_server = ndns.createServer(udp4);
server.on('request', function(req, res) {
- var answer = ndns.poller.server.getServerWithMinLoad();
+ var answer = ndns.poller.server.getServerWithMinLoad('server1.example.com');
// ^^^^^^^^^^^^^^^^
// Serve answer to question here
// ^^^^^^^^^^^^^^^

0 comments on commit 30fb9b4

Please sign in to comment.