aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/run_queue.c (follow)
Commit message (Collapse)AuthorAge
* STAILQ -> SIMPLEQEgor Tensin2023-06-09
|
* msg: strings, not wordsEgor Tensin2023-05-15
|
* rework server-worker communicationEgor Tensin2023-05-15
| | | | | | | | | | | | | | | | | | OK, this is a major rework. * tcp_server: connection threads are not detached anymore, the caller has to clean them up. This was done so that the server can clean up the threads cleanly. * run_queue: simple refactoring, run_queue_entry is called just run now. * server: worker threads are now killed when a run is assigned to a worker. * worker: the connection to server is no longer persistent. A worker sends "new-worker", waits for a task, closes the connection, and when it's done, sends the "complete" message and waits for a new task. This is supposed to improve resilience, since the worker-server connections don't have to be maintained while the worker is doing a CI run.
* ci_queue -> run_queueEgor Tensin2023-05-13
Also, some minor refactoring.