Skip to content

Commit

Permalink
Changed Concurrency date type to int32
Browse files Browse the repository at this point in the history
Signed-off-by: Teddysun <[email protected]>
  • Loading branch information
teddysun committed Apr 18, 2023
1 parent 16530e8 commit 3c96041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func generateConfig() (*core.Config, error) {
} else {
senderConfig := proxyman.SenderConfig{StreamSettings: &streamConfig}
if connectionReuse {
senderConfig.MultiplexSettings = &proxyman.MultiplexingConfig{Enabled: true, Concurrency: uint32(*mux)}
senderConfig.MultiplexSettings = &proxyman.MultiplexingConfig{Enabled: true, Concurrency: int32(*mux)}
}
return &core.Config{
Inbound: []*core.InboundHandlerConfig{{
Expand Down

0 comments on commit 3c96041

Please sign in to comment.