diff options
author | Janos Guljas <janos@resenje.org> | 2018-09-24 23:40:22 +0800 |
---|---|---|
committer | Janos Guljas <janos@resenje.org> | 2018-09-24 23:56:00 +0800 |
commit | 9e99a0c2b94daa351325688702e2a49e34f60dbf (patch) | |
tree | a66c070a9c55eff5dda766cb35b013657eab37df /swarm/swarm.go | |
parent | 1f45ba9bb1c19489a6c8bf9caf100e56dcb79788 (diff) | |
download | go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.tar go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.tar.gz go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.tar.bz2 go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.tar.lz go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.tar.xz go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.tar.zst go-tangerine-9e99a0c2b94daa351325688702e2a49e34f60dbf.zip |
cmd/swarm, swarm: add stream peer servers limit
Diffstat (limited to 'swarm/swarm.go')
-rw-r--r-- | swarm/swarm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swarm/swarm.go b/swarm/swarm.go index 13aa1125d..5db17d25f 100644 --- a/swarm/swarm.go +++ b/swarm/swarm.go @@ -186,6 +186,7 @@ func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err e DoSync: config.SyncEnabled, DoRetrieve: true, SyncUpdateDelay: config.SyncUpdateDelay, + MaxPeerServers: config.MaxStreamPeerServers, }) // Swarm Hash Merklised Chunking for Arbitrary-length Document/File storage |