Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(crawler): separate timeout per query
This aims to correctly apply intention of fix from #996 It did not work correctly because `context.WithTimeout` was created once per goroutine but was used for multiple queries within the `for p := range jobs` loop. This meant once the timeout expires for the first query, all subsequent queries in that worker would immediately fail since they're using the same expired context.
- Loading branch information