Skip to content

Commit

Permalink
pass the parameters from config to the gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Aug 1, 2024
1 parent 6ad92ae commit 8acb9ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testnet/launcher/gateway/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func (n *DockerGateway) Start() error {
"--nodeHost", n.cfg.tenNodeHost,
"--dbType", "sqlite",
"--logPath", "sys_out",
"--rateLimitUserComputeTime", fmt.Sprintf("%d", n.cfg.rateLimitUserComputeTime),
}

_, err := docker.StartNewContainer("gateway", n.cfg.dockerImage, cmds, []int{n.cfg.gatewayHTTPPort, n.cfg.gatewayWSPort}, nil, nil, nil)
Expand Down

0 comments on commit 8acb9ac

Please sign in to comment.