Skip to content
代码片段 群组 项目
提交 241c923e 编辑于 作者: Joerg Behrmann's avatar Joerg Behrmann
浏览文件

Support: Increase startup limit interval for Puma and Sidekiq

Both Puma and Sidekiq are systemd services of type notify, which means that they
notify systemd once they have started. If they run into the startup timeout,
they will be restarted, but they will neer hit their start limit burst
threshold, since the window is smaller than their startup timeout times the
number of startups (DefaultStartLimitBurst=5).

This commit increases the start limit interval so that the service can fail when
repeatedly running into the startup timeout instead of being constantly
restarted.
上级 530e4157
No related branches found
No related tags found
无相关合并请求
......@@ -4,7 +4,7 @@ Conflicts=gitlab.service
ReloadPropagatedFrom=gitlab.target
PartOf=gitlab.target
After=network.target
StartLimitIntervalSec=100s
StartLimitIntervalSec=11min
[Service]
Type=notify
......
......@@ -4,6 +4,7 @@ ReloadPropagatedFrom=gitlab.target
PartOf=gitlab.target
After=network.target
JoinsNamespaceOf=gitlab-puma.service
StartLimitIntervalSec=11min
[Service]
Type=notify
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册