debian-forge-composer/internal/jobqueue/jobqueuetest
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
..
jobqueuetest.go fsjobqueue: do not delete empty channels 2021-11-14 10:17:03 +01:00