You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(search): use errgroup for concurrent page fetch
Replaces manual goroutine and WaitGroup management in fetchAllPages with
golang.org/x/sync/errgroup for improved error handling and concurrency
control. Updates usage and warning messages to clarify concurrency
implications. Adds errgroup dependency to go.mod and go.sum.
fmt.Fprintf(os.Stderr, "Warning: High concurrency (%d) may lead to rate limiting or temporary blocking by Loggly. Consider reducing the concurrency level.\n", concurrency)
200
+
fmt.Fprintf(os.Stderr, "Warning: High concurrency (%d) may lead to rate limiting or temporary blocking by Loggly. If loggly returns with error, consider reducing the concurrency level.\n", concurrency)
0 commit comments