summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
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")