Skip to content

auto: fix driver priority#807

Merged
pkova merged 1 commit intodevelopfrom
pkova/priority
Apr 28, 2025
Merged

auto: fix driver priority#807
pkova merged 1 commit intodevelopfrom
pkova/priority

Conversation

@pkova
Copy link
Copy Markdown
Collaborator

@pkova pkova commented Apr 28, 2025

Each driver in the king has an event queue. When new events are about to be handled, these queues get pulled from in a specific order. We do this so that a ship that receives a ton of ames packets doesn't block handling terminal keystrokes or web interface HTTP requests.

vere-v3.2 added the mesa.c driver for Directed Messaging. The driver was incorrectly put at the very bottom of auto.c which means the highest priority driver. This combined with the proliferation of "dead" permanent networking flows caused some ships to appear less responsive when compared to vere-v3.1.

@pkova pkova requested a review from a team as a code owner April 28, 2025 14:02
@pkova pkova merged commit 1f77612 into develop Apr 28, 2025
2 checks passed
@pkova pkova deleted the pkova/priority branch April 28, 2025 16:26
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