debian-forge-composer/internal/jobqueue
Ondřej Budai 5f4db72777 fsjobqueue: do not delete empty channels
Previously, we deleted empty channels when a job was dequeued. This is
completely wrong because there still might be some clients waiting for
a job. This commit removes the cleanup and adds a regression test.

Note that this has the potential to leak memory if we ever use a lot of
job types. Currently, we have just handful of them, so this is fine.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-11-14 10:17:03 +01:00
..
dbjobqueue jobqueue: Better logging 2021-10-19 10:03:39 +01:00
fsjobqueue fsjobqueue: do not delete empty channels 2021-11-14 10:17:03 +01:00
jobqueuetest fsjobqueue: do not delete empty channels 2021-11-14 10:17:03 +01:00
jobqueue.go worker: Configurable timeout for RequestJob 2021-10-19 00:12:18 +01:00