Commit b089db7
committed
[fix] Restore proper thread-based TaskQueue worker management
- Fix async/sync mismatch in TaskQueue worker implementation
- Use threading.Thread with asyncio.run() as originally designed
- Remove incorrect async task approach that caused blocking issues
- TaskQueue now properly manages its own thread lifecycle
- Resolves WebSocket message delivery and task processing issues1 parent 7a73f5d commit b089db7
1 file changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
| 219 | + | |
221 | 220 | | |
222 | 221 | | |
223 | | - | |
| 222 | + | |
224 | 223 | | |
225 | | - | |
| 224 | + | |
226 | 225 | | |
227 | 226 | | |
228 | | - | |
| 227 | + | |
| 228 | + | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | 230 | | |
239 | 231 | | |
240 | 232 | | |
| |||
1435 | 1427 | | |
1436 | 1428 | | |
1437 | 1429 | | |
1438 | | - | |
| 1430 | + | |
1439 | 1431 | | |
1440 | 1432 | | |
1441 | 1433 | | |
| |||
0 commit comments