This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/storage/kubernetes
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
..
k8sapi feat: Create CRDs as apiextensions.k8s.io/v1 2021-06-10 20:00:49 +04:00
client.go Limit the amount of objects we attempt to GC on each cycle 2022-05-20 09:18:05 -07:00
client_test.go refactor: move from io/ioutil to io and os package 2021-09-17 14:12:39 +08:00
doc.go storage: update godocs 2016-10-28 13:00:13 -07:00
storage.go Limit the amount of objects we attempt to GC on each cycle 2022-05-20 09:18:05 -07:00
storage_test.go fix: do not update offlinesession lastUsed field if refresh token was not change 2021-10-19 01:16:34 +04:00
transport.go refactor: move from io/ioutil to io and os package 2021-09-17 14:12:39 +08:00
types.go feat: Create CRDs as apiextensions.k8s.io/v1 2021-06-10 20:00:49 +04:00