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

Fixed batching flag logic #209

Merged
merged 2 commits into from
Apr 6, 2020
Merged

Fixed batching flag logic #209

merged 2 commits into from
Apr 6, 2020

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Apr 4, 2020

Motivation

The logic to check if a message can be batched is currently broken because deliverAt.UnixNano() is not actually returning a 0 when the deliverAt is uninitialized. Rather it represent a timestamp in the far past which is changed into a negative timestamp (< Jan 1970).

@merlimat merlimat added this to the 0.1.1 milestone Apr 6, 2020
@merlimat merlimat merged commit d27cd74 into apache:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants