mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
bump max tcp in proxy to 10
This commit is contained in:
4
proxy.js
4
proxy.js
@@ -16,8 +16,8 @@ var Proxy = function(opt, cb) {
|
|||||||
|
|
||||||
var id = opt.id;
|
var id = opt.id;
|
||||||
|
|
||||||
// default max is 5
|
// default max is 10
|
||||||
var max_tcp_sockets = opt.max_tcp_sockets || 5;
|
var max_tcp_sockets = opt.max_tcp_sockets || 10;
|
||||||
|
|
||||||
// new tcp server to service requests for this client
|
// new tcp server to service requests for this client
|
||||||
var client_server = net.createServer();
|
var client_server = net.createServer();
|
||||||
|
|||||||
Reference in New Issue
Block a user