robur-coop / builder

Scheduling build jobs on regular intervals, collecting artifacts
ISC License
13 stars 1 forks source link

Builder is irresponsive to builder-client uploading artifacts #7

Closed reynir closed 3 years ago

reynir commented 3 years ago

When a build has finished builder-server uploads the resulting artifacts and build data to builder-web if configured to. The upload is done by calling out to curl using Curly (see https://github.com/roburio/builder/blob/main/app/server.ml#L183). This blocks the process and prevents users from getting replies to commands. The time where builder-server is irresponsive can be noticably long with uploads in the order of tens of megabytes.

hannesm commented 3 years ago

addressed in e0ee4eb by using https://github.com/roburio/httpaf-lwt-client instead of curly.