Skip to content

Commit 64b82b1

Browse files
committed
refactor(gitlab-readiness): increase timeout from 3 to 8 secs
1 parent d2eceb0 commit 64b82b1

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Icinga Director:
5050

5151
Monitoring Plugins:
5252

53+
* gitlab-readiness: increase timeout from 3 to 8 secs
5354
* journald-usage: also print SystemMaxUse and SystemKeepFree
5455
* pip-updates: modernize code
5556
* rocketchat-stats: improve output and docs a little bit

check-plugins/gitlab-readiness/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ options:
4444
Severity for alerting. Default: warn
4545
--test TEST For unit tests. Needs "path-to-stdout-file,path-to-
4646
stderr-file,expected-retc".
47-
--timeout TIMEOUT Network timeout in seconds. Default: 3 (seconds)
47+
--timeout TIMEOUT Network timeout in seconds. Default: 8 (seconds)
4848
--url URL GitLab readiness URL endpoint. Default:
4949
http://localhost/-/readiness?all=1
5050
```

check-plugins/gitlab-readiness/gitlab-readiness

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from lib.globals import (STATE_CRIT, STATE_OK, # pylint: disable=C0413
2424

2525

2626
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
27-
__version__ = '2025021501'
27+
__version__ = '2025081901'
2828

2929
DESCRIPTION = """The readiness probe checks whether the GitLab instance is ready to accept
3030
traffic via Rails Controllers.
@@ -34,7 +34,7 @@ DESCRIPTION = """The readiness probe checks whether the GitLab instance is ready
3434
DEFAULT_INSECURE = False
3535
DEFAULT_NO_PROXY = False
3636
DEFAULT_SEVERITY = 'warn'
37-
DEFAULT_TIMEOUT = 3
37+
DEFAULT_TIMEOUT = 8
3838
DEFAULT_URL = 'http://localhost/-/readiness?all=1'
3939

4040

check-plugins/gitlab-readiness/icingaweb2-module-director/gitlab-readiness.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"gitlab_readiness_insecure": false,
112112
"gitlab_readiness_no_proxy": false,
113113
"gitlab_readiness_severity": "warn",
114-
"gitlab_readiness_timeout": 3,
114+
"gitlab_readiness_timeout": 8,
115115
"gitlab_readiness_url": "http://localhost/-/readiness?all=1"
116116
},
117117
"volatile": null,

0 commit comments

Comments
 (0)