zot icon indicating copy to clipboard operation
zot copied to clipboard

initial draft for a task scheduler

Open rchincha opened this issue 2 years ago • 4 comments

Signed-off-by: Ramkumar Chinchani [email protected]

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

rchincha avatar Jun 05 '22 06:06 rchincha

For sync feature, add a Task and wait for callback

For 'gc/scrub', create a Task that periodically scans repos, which in turn creates a Task per-repo

rchincha avatar Jun 05 '22 06:06 rchincha

will look into it :D, thanks, saw your email but didn't have time to spend on this.

For sync feature, add a Task and wait for callback

For 'gc/scrub', create a Task that periodically scans repos, which in turn creates a Task per-repo

What sync callback should do? Why do we need callbacks?

Also should we use the framework mentioned in your issue to actually schedule tasks, or not?

No longer needed as https://github.com/project-zot/zot/pull/700 is merged.

andaaron avatar Sep 23 '22 14:09 andaaron