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

Disabled not necessary msgno getting procedure. #285

Conversation

szymekjanaczek
Copy link
Contributor

Hi @Webklex

I've increased the performance of message fetching procedure.
In the setUid method was (from my point of view) not necessary line getting msgno.
So I decided to remove it - because when we get messages via UID (and it's been checked before, e.g. in setSequenceId()), there is no need in using msgno. Could you validate whether it makes sense?

Result: (in my case) reduced 6 seconds to 0.8s

Greetings!

Webklex added a commit that referenced this pull request Jan 2, 2023
@Webklex
Copy link
Owner

Webklex commented Jan 2, 2023

Hi @szymekjanaczek ,
it's fixed :)

95925da

Best regards,

@Webklex Webklex closed this Jan 2, 2023
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.

2 participants