mirror of
https://github.com/amark/gun.git
synced 2025-06-07 06:36:46 +00:00
up mob
This commit is contained in:
parent
1304ef90e8
commit
4c01db9a67
@ -221,7 +221,7 @@ function start(root){
|
|||||||
The mob threshold might be determined by other factors,
|
The mob threshold might be determined by other factors,
|
||||||
like how much RAM or CPU stress we have.
|
like how much RAM or CPU stress we have.
|
||||||
*/
|
*/
|
||||||
opt.mob = opt.mob || parseFloat((opt.env||'').MOB) || 9900; // should be based on ulimit, some clouds as low as 10K.
|
opt.mob = opt.mob || parseFloat((opt.env||'').MOB) || 999999; // should be based on ulimit, some clouds as low as 10K.
|
||||||
|
|
||||||
// handle rebalancing a mob of peers:
|
// handle rebalancing a mob of peers:
|
||||||
root.on('hi', function(peer){
|
root.on('hi', function(peer){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user