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

Replace SessionManager with TtlMap, refactor downstream packet processing to track more errors in metrics #674

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

XAMPPRocky
Copy link
Collaborator

I realised that we essentially implemented the same thing with SessionManager and TtlMap, so I removed session manager and replaced it with TtlMap, while also changing this code, I updated the downstream processing code, because there were cases were errors can happen but wouldn't be tracked in metrics, so now the code is written to ensure that all paths lead to the metrics being counted.

@github-actions
Copy link

github-actions bot commented Jan 3, 2023

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: dcab35c5-93a5-4047-82c4-93f6eac313cd

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch git@github.com:googleforgames/quilkin.git pull/674/head:pr_674 && git checkout pr_674
cargo build

Copy link
Contributor

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Nice change 👍🏻

@markmandel markmandel merged commit 192376f into main Jan 4, 2023
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Jan 4, 2023
@markmandel markmandel deleted the ep/rm-session-manager branch January 4, 2023 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc size/xl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants