mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-02 11:28:08 -06:00
* [docs/zh] Update zh docs: synced to e10de84
* [docs/zh] update mkdocs config of zh docs
* [docs/zh] update repo docs translations (README, ROADMAP, CONTRIBUTING) + update swagger schema metadata of docs/zh
This commit is contained in:
parent
2aa3524739
commit
62f25ea08a
42 changed files with 1789 additions and 152 deletions
|
|
@ -23,12 +23,12 @@ healthcheck:
|
|||
|
||||
上述健康检查将在 30 秒后开始,每两分钟检查一次服务是否可用,通过对 `/readyz` 进行 HEAD 请求。如果检查连续失败五次,服务将被标记为不健康。你可以在使用的编排系统中利用此功能强制重启容器。
|
||||
|
||||
!!! warning
|
||||
!!! warning "警告"
|
||||
在慢速硬件上进行数据库迁移时,迁移可能会超过上述健康检查所允许的 10 分钟。
|
||||
|
||||
在这样的系统上,你可能需要增加健康检查的间隔或重试次数,以确保不会在迁移中途停止 GoToSocial(这会很糟糕!)。
|
||||
|
||||
!!! tip
|
||||
!!! tip "提示"
|
||||
尽管健康检查端点不透露任何敏感信息,并且只运行非常简单的查询,你可能希望避免将它们暴露给外部世界。你可以在 nginx 中通过在 `server` 段中添加以下代码片段来实现:
|
||||
|
||||
```nginx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue