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

Add a type for session keys #364

Merged
merged 3 commits into from
Aug 13, 2021
Merged

Add a type for session keys #364

merged 3 commits into from
Aug 13, 2021

Conversation

iffyio
Copy link
Collaborator

@iffyio iffyio commented Aug 12, 2021

Currently looking at adding some sort of session based state in a filter
and figured to make this a type rather than using a plain tuple of adresses so that
its easier to identify across the repo

Currently looking at adding some sort of session based state in a filter
and figured to make this a type rather than using a plain tuple of adresses so that
its easier to identify across the repo
@iffyio
Copy link
Collaborator Author

iffyio commented Aug 12, 2021

actually scratch that, my use case (ratelimiting) doesn't need per session state since filters don't know what the destination address will be :P only the source will be sufficient, this is probably still a useful change though

Copy link
Member

@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.

No objections here - I think it makes the code more readable 👍🏻 if you are still happy with the change, let's merge.

@iffyio iffyio merged commit 9b56870 into main Aug 13, 2021
@iffyio iffyio deleted the iu/session-key branch August 13, 2021 08:25
@markmandel markmandel added kind/cleanup Refactoring code, fixing up documentation, etc kind/breaking Changes to functionality, API, etc. labels Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes kind/breaking Changes to functionality, API, etc. kind/cleanup Refactoring code, fixing up documentation, etc size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants