Skip to content

Commit

Permalink
refactor(processor): Limit goroutines in sync mode & simplify (#334)
Browse files Browse the repository at this point in the history
* feat(processor): Add worker support for sync workloads

* Cancellable

* test: Add unit tests for batch item processor

* feat: Static workers

* more debugging

* Refactor workers

* Add comments

* Close

* test: Add queue size and dropped events tests

* refactor: Improve error handling in enqueueOrDrop function

* refactor: Remove duplicate fields and unused variables in testBatchExporter
  • Loading branch information
samcm authored Jun 17, 2024
1 parent 2b49552 commit 6789a1b
Show file tree
Hide file tree
Showing 2 changed files with 331 additions and 250 deletions.
Loading

0 comments on commit 6789a1b

Please sign in to comment.