debian-forge-composer/internal/weldr
Tom Gundersen c3d66b5a33 cmd/composer: gracefully shut down on SIG{INT,TERM}
Call `Shutdown()` on all http servers. This means we will finish processing
any pending requests (including depsolving), but we will not listen to new
ones.

In particular, we will not answer to the readiness probe, so no new traffic
will be routed to this container.

Once all pending requests have been handled composer will shut down
gracefully and the liveness probe will return failure.

Note that in order for this to work correctly no requests should ever take longer
than the shutdown timeout (by default 30s).
2022-03-22 14:17:37 +01:00
..
api.go cmd/composer: gracefully shut down on SIG{INT,TERM} 2022-03-22 14:17:37 +01:00
api_test.go ostree: move test server to separate package 2022-02-23 11:08:24 +01:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go jobqueue: introduce the concept of channels 2022-03-08 12:07:00 +01:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
upload.go Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00