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

Evaluate whether custom message queue is still needed #31

Closed
Krinkle opened this issue Oct 15, 2017 · 0 comments
Closed

Evaluate whether custom message queue is still needed #31

Krinkle opened this issue Oct 15, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@Krinkle
Copy link
Member

Krinkle commented Oct 15, 2017

Since the upgrade of Meebey.SmartIrc4net from 0.4 to 1.1 (e2d92e7), I think our custom message queue has become obsolete.

I disabled some of the more hacks that caused warnings in the new compiler after the upgrade, but I suspect the remaining custom code can be removed as well.

We currently have our own custom message queue thread, that continuously polls the high-priority and low-priority queues to send messages. And the thread is also disabled/resumed by our custom code based on how many bytes we've sent recently and when the last PING/PONG happened.

As far as I can see, this is all handled by SmartIrc4net and no longer requires us doing this. Would be good to try and get rid of it and see what happens.

@Krinkle Krinkle added the meta label Oct 15, 2017
@Krinkle Krinkle added this to the 1.22.0 milestone Oct 15, 2017
@Krinkle Krinkle self-assigned this Oct 15, 2017
Krinkle added a commit that referenced this issue Oct 18, 2017
SmartIrc4net already has a built-in message queue with priority settings
and processing in its own thread. Going through two layers of queues
doesn't seem particularly valueable. Try to remove ours and see
what happens.

* Mapping isPriority=true -> Priority.High
  Mapping isPriority=false -> Priority.Low
  Unused for now Priority.Critical, Priority.Medium
* Removing isDroppable for now.

Fixes #31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant