Skip to content

Commit

Permalink
Merge pull request #512 from getsentry/txiao/chore/increase-read-job-…
Browse files Browse the repository at this point in the history
…channel-size

chore(flamegraphs): Increase readjob channel size
  • Loading branch information
Zylphrex authored Sep 4, 2024
2 parents f12a23a + b10a0ae commit 67e9107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
- Remove module frame in python ([#496](https://github.com/getsentry/vroom/pull/496))
- Handle js profile normalization for react+android profiles ([#499](https://github.com/getsentry/vroom/pull/499))
- Fix metrics example list ([#505](https://github.com/getsentry/vroom/pull/505))
- Increase readjob channel size ([#512](https://github.com/getsentry/vroom/pull/512))

**Internal**:

Expand Down
2 changes: 1 addition & 1 deletion cmd/vroom/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func main() {

slog.Info("vroom started")

readJobs = make(chan storageutil.ReadJob, env.config.WorkerPoolSize)
readJobs = make(chan storageutil.ReadJob, 10*env.config.WorkerPoolSize)
for i := 0; i < env.config.WorkerPoolSize; i++ {
go storageutil.ReadWorker(readJobs)
}
Expand Down

0 comments on commit 67e9107

Please sign in to comment.