Skip to content

Commit

Permalink
fixup! chore: update processor logic to accomodate jobRunID aborts
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidddddarth committed Oct 6, 2023
1 parent 90fdddf commit 2bcf64c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ type Handle struct {
eventSchemaV2Enabled bool
archivalEnabled misc.ValueLoader[bool]
eventAuditEnabled map[string]bool

toAbortJobRunIDs misc.ValueLoader[string]
}

adaptiveLimit func(int64) int64
Expand Down
1 change: 0 additions & 1 deletion processor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3547,7 +3547,6 @@ var _ = Describe("Static Function Tests", func() {
}
response := ConvertToFilteredTransformerResponse(events, true)
Expect(response).To(Equal(expectedResponse))

})
})
})
Expand Down
1 change: 0 additions & 1 deletion router/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ var _ = Describe("router", func() {
Expect(worker.Work()).To(BeTrue())
Expect(worker.pickupCount).To(Equal(len(unprocessedJobsList)))
Eventually(func() bool { return routerAborted && procErrorStored }, 5*time.Second, 100*time.Millisecond).Should(Equal(true))

})

It("aborts events that have reached max retries", func() {
Expand Down

0 comments on commit 2bcf64c

Please sign in to comment.