diff options
| author | demo <demo@antix1> | 2026-05-28 11:53:07 -0400 |
|---|---|---|
| committer | demo <demo@antix1> | 2026-05-28 11:53:07 -0400 |
| commit | 8d3bf78303a42fdf7289c6e1896e3d3f7e9b1cb7 (patch) | |
| tree | 1f866a1a3e20ab6aa6445278058512f07a8a20e5 /main.go | |
| parent | 2e4b6abc07036df7a001b1b8305edc55f27dda9f (diff) | |
docs: add comment explaining purpose of log.Lshortfile
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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") |
