dex/storage
Michael Kelly 502a2d0d4a
Limit the amount of objects we attempt to GC on each cycle
If something causes the number k8s resources to increase beyond a
certain threshold, garbage collection can fail because the query to
retrieve those resources will time out, resulting in a perpetual cycle
of being unable to garbage collect resources.

In lieu of trying to get *every* object each cycle, we can limit the
number of resources retrieved per GC cycle to some reasonable number.

Signed-off-by: Michael Kelly <mkelly@arista.com>
2022-05-20 09:18:05 -07:00
..
conformance refactor: move from io/ioutil to io and os package 2021-09-17 14:12:39 +08:00
ent revert: atlas and precision change 2022-04-06 16:27:33 +02:00
etcd chore(deps): update etcd 2021-05-26 13:16:05 +02:00
kubernetes Limit the amount of objects we attempt to GC on each cycle 2022-05-20 09:18:05 -07:00
memory Bump golag-ci lint version to 1.40.1 2021-05-27 19:27:06 +04:00
sql refactor: move from io/ioutil to io and os package 2021-09-17 14:12:39 +08:00
doc.go initial commit 2016-07-26 15:51:24 -07:00
health.go chore(deps): update gosundheit 2021-05-26 14:50:35 +02:00
static.go Add gocritic 2020-10-18 01:54:27 +04:00
storage.go Bump golag-ci lint version to 1.40.1 2021-05-27 19:27:06 +04:00