Skip to content

Commit c5f5840

Browse files
wzrdtalesTobias Gurtzick
authored andcommitted
quick clean up
1 parent 99a4b7d commit c5f5840

File tree

4 files changed

+31
-6
lines changed

4 files changed

+31
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ By default, it provides a round-robin strategy that will work in the majority of
55
Visigoth allows you to customize the strategy for choosing the healthiest target
66
by evaluating the statistics recorded by previous calls to the same target:
77

8-
```
8+
```javascript
99
function rater(upstream) {
1010
var responseTime = upstream.meta$.stats.responseTime;
1111
if(typeof responseTime !== 'undefined') {

examples/econ-refused/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "visigoth-econ-refused-example",
3+
"version": "1.0.0",
4+
"description": "",
5+
"private": true,
6+
"main": "econ-refused.js",
7+
"author": "",
8+
"license": "ISC",
9+
"dependencies": {
10+
"async": "^2.1.5",
11+
"request": "^2.79.0"
12+
}
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "visigoth-low-latency-example",
3+
"version": "1.0.0",
4+
"description": "",
5+
"private": true,
6+
"main": "low-latency.js",
7+
"author": "",
8+
"license": "ISC",
9+
"dependencies": {
10+
"async": "^2.1.5"
11+
}
12+
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"homepage": "https://github.com/dgonzalez/visigoth",
2020
"dependencies": {
2121
"assertion-error": "^1.0.1",
22-
"async": "^2.0.0-rc.3",
23-
"chai": "^3.5.0",
2422
"deep-eql": "^0.1.3",
2523
"lodash": "^4.2.1",
26-
"mocha": "^2.4.5",
27-
"request": "^2.72.0",
28-
"sinon": "^1.17.3",
2924
"type-detect": "^1.0.0"
25+
},
26+
"devDependencies": {
27+
"chai": "^3.5.0",
28+
"mocha": "^2.5.3",
29+
"sinon": "^1.17.7"
3030
}
3131
}

0 commit comments

Comments
 (0)