Skip to content

Commit

Permalink
update queue size
Browse files Browse the repository at this point in the history
  • Loading branch information
vearne committed Jul 11, 2024
1 parent feb76cc commit 4927d47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/command/grpc_automate.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func HandleSingleFileGrpc(workerNum int, filePath string) (*ResultInfo, []GrpcTe
testcases := resource.GrpcTestCases[filePath]
slog.Info("[start]HandleSingleFileGrpc, filePath:%v, len(testcase):%v", filePath, len(testcases))

futureChan := make(chan executor.Future, 10)
futureChan := make(chan executor.Future, len(testcases))
pool := executor.NewFixedGPool(context.Background(), workerNum)
defer pool.WaitTerminate()

Expand Down
2 changes: 1 addition & 1 deletion internal/command/http_automate.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func HandleSingleFileHttp(workerNum int, filePath string) (*ResultInfo, []HttpTe
testcases := resource.HttpTestCases[filePath]
slog.Info("[start]HandleSingleFileHttp, filePath:%v, len(testcase):%v", filePath, len(testcases))

futureChan := make(chan executor.Future, 10)
futureChan := make(chan executor.Future, len(testcases))
pool := executor.NewFixedGPool(context.Background(), workerNum)
defer pool.WaitTerminate()

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
version = "v0.1.0"
version = "v0.1.1"
)

func main() {
Expand Down

0 comments on commit 4927d47

Please sign in to comment.