optimization for lower CPU consumption for bind collection
Costa Tsaousis (ktsaou) committed
Feb 3, 2016 at 00:31 UTC
ed4a8c11d85f9340ed6a6a7acb92f25e4bc6c654
1 file changed
+3
-3
node.d/named.node.js
+3
-3
@@ -16,12 +16,12 @@
16
"servers": [
17
{
18
"name": "bind1",
19
- "url": "http://127.0.0.1:8888/json/v1",
19
+ "url": "http://127.0.0.1:8888/json/v1/server",
20
"update_every": 1
21
},
22
{
23
"name": "bind2",
24
- "url": "http://10.1.2.3:8888/json/v1",
24
+ "url": "http://10.1.2.3:8888/json/v1/server",
25
"update_every": 2
26
}
27
]
@@ -491,7 +491,7 @@ var named = {
491
var added = 0;
492
493
if(this.enable_autodetect === true) {
494
- this.serviceExecute('local', 'http://localhost:8888/json/v1', this.update_every);
494
+ this.serviceExecute('local', 'http://localhost:8888/json/v1/server', this.update_every);
495
added++;
496
}
497