Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | msg: strings, not words | Egor Tensin | 2023-05-15 |
| | |||
* | rework server-worker communication | Egor Tensin | 2023-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. | ||
* | command: adjust order of parameters to handlers | Egor Tensin | 2023-05-14 |
| | |||
* | msg: enforce at least one word | Egor Tensin | 2023-05-14 |
| | | | | Also, move some stuff to net.c where it belongs. | ||
* | command: refactoring | Egor Tensin | 2023-05-13 |
| | |||
* | best practices & coding style fixes | Egor Tensin | 2023-05-13 |
| | | | | | | | | * I don't really need to declare all variables at the top of the function anymore. * Default-initialize variables more. * Don't set the output parameter until the object is completely constructed. | ||
* | add command module to handle request-response communications | Egor Tensin | 2023-05-13 |