Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: trim down on extraneous calls to ConsumeUntilEmpty in event consumers #1550

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

adityathebe
Copy link
Member

@adityathebe adityathebe commented Oct 24, 2024

@adityathebe adityathebe force-pushed the feat/improve-event-consumer branch 3 times, most recently from 0537818 to 2116d63 Compare October 25, 2024 13:34
@adityathebe adityathebe marked this pull request as ready for review November 5, 2024 09:35
@@ -27,9 +27,7 @@ const (
DefaultEventLogSize = 20
)

type Handler func(ctx context.Context, e models.Event) error
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type Handler is not required anymore since we merged postq into duty.

@moshloop moshloop merged commit b899e15 into main Nov 5, 2024
7 checks passed
@moshloop moshloop deleted the feat/improve-event-consumer branch November 5, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce calls to ConsumeUntilEmpty
2 participants