cert-manager/pkg/scheduler
Maël Valais e4f981da66 Revert "memory leak: clean up scheduler goroutine on cert deletion"
This reverts commit 641960b6. The reason we decided to revert this is
that we are unsure about the implications of adding the
scheduledWorkQueue.Forget call. The new Forget call is left untested,
and it makes us nervous not to know exactly if it works as intended.

The "Forget" memory leak that we are reverting now is the cause of a
tiny fraction of the overall memory leakage that was fixed in the PR
in the scheduler itself.  Reverting this means that some goroutines will
be leaked, but only when a Certificate gets removed and never recreated
with the same name.

Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-28 19:19:39 +02:00
..
test Add a fake scheduler 2021-05-19 13:05:59 +01:00
BUILD.bazel memory leak: add unit test to show scheduler leaking goroutines 2021-07-21 10:25:49 +02:00
scheduler_test.go memory leak: the afterFunc goroutine now stops properly 2021-07-21 10:25:56 +02:00
scheduler.go Revert "memory leak: clean up scheduler goroutine on cert deletion" 2021-07-28 19:19:39 +02:00