Improve the async coroutine executor #144

Closed
opened 2026-04-21 16:53:28 +01:00 by Tearnote · 1 comment
Tearnote commented 2026-04-21 16:53:28 +01:00 (Migrated from codeberg.org)

We currently have a foreground and a background thread pool for running tasks, to avoid worker starvation when running long background jobs like a song import. This is a temporary workaround. In the long term, we need to use a single queue with task priority support.

Submitted as a feature request for libcoro:
https://github.com/jbaldwin/libcoro/issues/458

We currently have a foreground and a background thread pool for running tasks, to avoid worker starvation when running long background jobs like a song import. This is a temporary workaround. In the long term, we need to use a single queue with task priority support. Submitted as a feature request for libcoro: https://github.com/jbaldwin/libcoro/issues/458
Tearnote commented 2026-04-21 21:08:40 +01:00 (Migrated from codeberg.org)

Implemented in e26b66d4d0

Implemented in e26b66d4d05e3b005b319251d3cebc740e32d38c
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Tearnote/Playnote#144
No description provided.