Skip to content

Commit

Permalink
doc: update clean old version builds schedule date
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Sep 26, 2024
1 parent a679523 commit 660bc15
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 34 deletions.
13 changes: 7 additions & 6 deletions docs/self-hosted/configuration/schedule-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Clean old version builds

:::info

`ZEALOT_KEEP_UPLOADS` is `true` by default.

:::

A reliable logic for cleaning up old versions is to keep an eye on all uploaded
versions of the current master version, as observed by project maintainers over time.

Expand Down Expand Up @@ -43,12 +49,7 @@ leaving the final version file as follows:
```

If disk space is limited, you can enable cleanup of timed tasks by setting the environment variable `ZEALOT_KEEP_UPLOADS=false`.

:::info

`ZEALOT_KEEP_UPLOADS` set `true` by default.

:::
this jobs will schedule to execute in 6am per day.

## Backup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 清理老版本

:::info

默认情况下 `ZEALOT_KEEP_UPLOADS` 是开启状态(`ture` ) 。

:::

按照项目维护者长期的使用观察一个可靠的清理老版本的逻辑是时刻关注当前主版本的所有上传版本,
之前上传的历史版本只需要保留最后一个上传构建版本基本上就满足绝大数情况,举个例子:

Expand Down Expand Up @@ -37,13 +43,7 @@
- 5
```

如果磁盘空间有限,可以通过设置环境变量 `ZEALOT_KEEP_UPLOADS=false` 来开启定时任务的清理。

:::info

`ZEALOT_KEEP_UPLOADS` 模式是 `true` 开启状态 。

:::
如果磁盘空间有限,可以通过设置环境变量 `ZEALOT_KEEP_UPLOADS=false` 来开启定时任务的清理,该任务会每天早上 6 点执行。

## 备份

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

:::info

`ZEALOT_KEEP_UPLOADS` 模式是 `true` 开启状态
默认情况下 `ZEALOT_KEEP_UPLOADS` 是开启状态(`ture`

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

:::info

`ZEALOT_KEEP_UPLOADS` 模式是 `true` 开启状态
默认情况下 `ZEALOT_KEEP_UPLOADS` 是开启状态(`ture`

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

:::info

`ZEALOT_KEEP_UPLOADS` 模式是 `true` 开启状态
默认情况下 `ZEALOT_KEEP_UPLOADS` 是开启状态(`ture`

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

:::info

`ZEALOT_KEEP_UPLOADS` 模式是 `true` 开启状态
默认情况下 `ZEALOT_KEEP_UPLOADS` 是开启状态(`ture`

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 清理老版本

:::info

默认情况下 `ZEALOT_KEEP_UPLOADS` 是开启状态(`ture` ) 。

:::

按照项目维护者长期的使用观察一个可靠的清理老版本的逻辑是时刻关注当前主版本的所有上传版本,
之前上传的历史版本只需要保留最后一个上传构建版本基本上就满足绝大数情况,举个例子:

Expand Down Expand Up @@ -37,13 +43,7 @@
- 5
```

如果磁盘空间有限,可以通过设置环境变量 `ZEALOT_KEEP_UPLOADS=false` 来开启定时任务的清理。

:::info

`ZEALOT_KEEP_UPLOADS` 模式是 `true` 开启状态 。

:::
如果磁盘空间有限,可以通过设置环境变量 `ZEALOT_KEEP_UPLOADS=false` 来开启定时任务的清理,该任务会每天早上 6 点执行。

## 备份

Expand Down
4 changes: 2 additions & 2 deletions openapi_v1_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@
"tags": [
"Release"
],
"description": "Update a build of app verison, custom_fileds, changelog etc (Since v1.4)",
"description": "Update a build of app verison, custom_fileds, changelog etc",
"operationId": "updateRelease",
"parameters": [
{
Expand Down Expand Up @@ -1352,7 +1352,7 @@
"tags": [
"Release"
],
"description": "Destroy a app's build (Since v1.4)",
"description": "Destroy a app's build",
"operationId": "destroyRelease",
"parameters": [
{
Expand Down
4 changes: 2 additions & 2 deletions openapi_v1_zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@
"tags": [
"应用版本"
],
"description": "更新应用版本的版本、自定义字段、变更日志等信息 (API v1.4 新增)",
"description": "更新应用版本的版本、自定义字段、变更日志等信息",
"operationId": "updateRelease",
"parameters": [
{
Expand Down Expand Up @@ -1352,7 +1352,7 @@
"tags": [
"应用版本"
],
"description": "删除应用版本 (API v1.4 新增)",
"description": "删除应用版本",
"operationId": "destroyRelease",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Clean old version builds

:::info

`ZEALOT_KEEP_UPLOADS` is `true` by default.

:::

A reliable logic for cleaning up old versions is to keep an eye on all uploaded
versions of the current master version, as observed by project maintainers over time.

Expand Down Expand Up @@ -43,12 +49,7 @@ leaving the final version file as follows:
```

If disk space is limited, you can enable cleanup of timed tasks by setting the environment variable `ZEALOT_KEEP_UPLOADS=false`.

:::info

`ZEALOT_KEEP_UPLOADS` set `true` by default.

:::
this jobs will schedule to execute in 6am per day.

## Backup

Expand Down

0 comments on commit 660bc15

Please sign in to comment.