Skip to content
Snippets Groups Projects
Commit e4e7f4f4 authored by benjamin's avatar benjamin
Browse files

made hostpool changes only impact js

parent ccaf880f
No related branches found
No related tags found
3 merge requests!510Release,!424Hotfix/fast sending,!340Project/channels
//go:build !js || !wasm
// +build !js !wasm
// This file is compiled for all architectures except WebAssembly.
package gateway
const (
MaxPoolSize = 20
)
package gateway
const (
MaxPoolSize = 7
)
......@@ -128,7 +128,7 @@ type poolParamsDisk struct {
// DefaultPoolParams returns a default set of PoolParams.
func DefaultPoolParams() PoolParams {
p := PoolParams{
MaxPoolSize: 5,
MaxPoolSize: MaxPoolSize,
ProxyAttempts: 5,
PoolSize: 0,
MaxPings: 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment