Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
e4e7f4f4
Commit
e4e7f4f4
authored
2 years ago
by
benjamin
Browse files
Options
Downloads
Patches
Plain Diff
made hostpool changes only impact js
parent
ccaf880f
No related branches found
No related tags found
3 merge requests
!510
Release
,
!424
Hotfix/fast sending
,
!340
Project/channels
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmix/gateway/defaults.go
+9
-0
9 additions, 0 deletions
cmix/gateway/defaults.go
cmix/gateway/defaults_js.go
+5
-0
5 additions, 0 deletions
cmix/gateway/defaults_js.go
cmix/gateway/hostPool.go
+1
-1
1 addition, 1 deletion
cmix/gateway/hostPool.go
with
15 additions
and
1 deletion
cmix/gateway/defaults.go
0 → 100644
+
9
−
0
View file @
e4e7f4f4
//go:build !js || !wasm
// +build !js !wasm
// This file is compiled for all architectures except WebAssembly.
package
gateway
const
(
MaxPoolSize
=
20
)
This diff is collapsed.
Click to expand it.
cmix/gateway/defaults_js.go
0 → 100644
+
5
−
0
View file @
e4e7f4f4
package
gateway
const
(
MaxPoolSize
=
7
)
This diff is collapsed.
Click to expand it.
cmix/gateway/hostPool.go
+
1
−
1
View file @
e4e7f4f4
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment