logservice: made tan's buffer size configurable (#4521)
Made tan's buffer size configurable, reduced buffer size in tests to be 16KBytes each, it was 4MBytes each. Also set debug.SetMemoryLimit(1GBytes) to further reduce memory usage when running TestGossipInSimulatedCluster. Approved by: @yingfeng
Showing
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 2 additions, 2 deletionsgo.sum
- pkg/logservice/config.go 12 additions, 5 deletionspkg/logservice/config.go
- pkg/logservice/service_test.go 4 additions, 1 deletionpkg/logservice/service_test.go
- pkg/logservice/store.go 3 additions, 0 deletionspkg/logservice/store.go
Please register or sign in to comment