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

fix: use serverReceivedTime over parseTime for stacking #5824

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Jan 14, 2025

The tests are dying. Twitch hates us. The animals are leaving. The aliens aren’t contacting us. We might be alone. It just might be you and me. But that’s okay. Because do you really need anyone else?

Anyways, this replaces the use of parseTime with serverReceivedTime, because parseTime isn't set for regular messages (it's set to the current time, meaning our tests will be correct just once throughout the day).

I marked this as a draft, because I don't have time and this needs tests for the stacking of regular timeout messages. If you want to add some, feel free to push to this branch.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

src/common/Channel.hpp Show resolved Hide resolved
src/common/Channel.hpp Show resolved Hide resolved
src/messages/MessageSink.hpp Show resolved Hide resolved
src/messages/MessageSink.hpp Show resolved Hide resolved
src/util/VectorMessageSink.cpp Show resolved Hide resolved
src/util/VectorMessageSink.cpp Show resolved Hide resolved
src/util/VectorMessageSink.hpp Show resolved Hide resolved
src/util/VectorMessageSink.hpp Show resolved Hide resolved
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.

1 participant