Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing example

  • Loading branch information...
commit 30fb9b4e7103ab5e9859cfe4756b846e68d4bfa4 1 parent 56d531b
@ssbanerje ssbanerje authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/load-balancing/loadbalancing_dns.js
View
2  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
// ^^^^^^^^^^^^^^^
Please sign in to comment.
Something went wrong with that request. Please try again.