swwagger: cleanup

This commit is contained in:
André Roth
2024-11-28 15:31:01 +01:00
parent 4ff3c894fa
commit a59fc6b8e8
4 changed files with 11 additions and 15 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
# Background Tasks
<div>
An aptly task is a sequence of multiple aptly commands run within a single aptly thread.
For example, a task could be to [create a new repository](/doc/aptly/repo/create), [add packages to it](/doc/aptly/repo/add), [create a snapshot](/doc/aptly/snapshot/create) and [serve it](/doc/aptly/serve).
Several API operations allow to be run in background asynchronously in a task. In that case, a Task object with an ID and a State is returned, which can be queried for progress.
Tasks should be deleted once they are no longer in progress, in order to not cause memory overflows.
Four commands can be now run in a single command.
</div>