Comparing version 3.1.0 to 3.1.1
3.1.1 / 2015-10-23 | ||
================== | ||
* fix(cluster): simplify cluster config | ||
3.1.0 / 2015-10-23 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -21,6 +21,7 @@ /**! | ||
const ready = require('get-ready'); | ||
const copy = require('copy-to'); | ||
const currentIP = require('address').ip(); | ||
const RR = 'roundRobin'; | ||
const MS = 'masterSlave'; | ||
module.exports = function (oss) { | ||
@@ -43,3 +44,3 @@ function Client(options) { | ||
let opt = options.cluster[i]; | ||
opt.timeout = opt.timeout || options.timeout; | ||
copy(options).pick('timeout', 'agent', 'urllib').to(opt); | ||
this.clients.push(oss(opt)); | ||
@@ -46,0 +47,0 @@ this.availables[i] = true; |
{ | ||
"name": "ali-oss", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "aliyun oss(open storage service) node client", | ||
@@ -5,0 +5,0 @@ "main": "lib/client.js", |
99797
1348