Skip to content

Commit 6808def

Browse files
committed
chore: Trying the ballast technic
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 70dbc9f commit 6808def

File tree

2 files changed

+4
-154
lines changed

2 files changed

+4
-154
lines changed

cmd/goweb/api.go

+4
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ func main() {
5454
logger.Global(logger.New(loggerConfig))
5555
defer logger.Close()
5656

57+
ballast := make([]byte, 50<<20)
58+
func(_ []byte) {
59+
}(ballast)
60+
5761
tracerApp, err := tracer.New(tracerConfig)
5862
logger.Fatal(err)
5963
defer tracerApp.Close()

0 commit comments

Comments
 (0)