From 8d3bf78303a42fdf7289c6e1896e3d3f7e9b1cb7 Mon Sep 17 00:00:00 2001 From: demo Date: Thu, 28 May 2026 11:53:07 -0400 Subject: docs: add comment explaining purpose of log.Lshortfile --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index de2456f..cd71cd1 100644 --- a/main.go +++ b/main.go @@ -13,6 +13,8 @@ import ( ) func main() { + // Setting shorfile helps especially for when we log errors + // without returning them. log.SetFlags(log.LstdFlags | log.Lshortfile) maxConcurrency := flag.Int("c", 0, "Maximum number of concurrent queue pushes") -- cgit v1.2.3