0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/meta
Andreea Lupu 76277f5ebd
fix: remove inline GC and schedule a background task instead (#1610)
* fix: remove inline GC and set a default value of gc interval

- remove inline GC
- add a default value of GC interval
- run the GC periodically by default with the default value if no interval provided
- generate GC tasks with a random delay(0-30s) between
- add IsReady() method to scheduler.TaskGenerator interface

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>

* ci: add test for gc with short interval

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>

---------

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
2023-08-07 12:55:19 -07:00
..
boltdb feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
common feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
dynamodb feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
signatures fix: remove inline GC and schedule a background task instead (#1610) 2023-08-07 12:55:19 -07:00
types feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
version feat(refator): refactoring repodb into meta (#1626) 2023-07-18 10:27:26 -07:00
hooks.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
hooks_test.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
meta.go feat(refator): refactoring repodb into meta (#1626) 2023-07-18 10:27:26 -07:00
meta_test.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
parse.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
parse_test.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00