Mobrovac has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/403395 )
Change subject: Checks: Wait a bit before repooling a server ...................................................................... Checks: Wait a bit before repooling a server It takes approximately 45 seconds for each RESTBase process to start up, so wait for 50 seconds before repooling a server so as to have at least two workers running at that point. Change-Id: I37a412a4b90a5c77bcba122b2b50bd9f373251df --- M scap/checks.yaml 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Mobrovac: Verified; Looks good to me, approved diff --git a/scap/checks.yaml b/scap/checks.yaml index 596302d..58c77d4 100644 --- a/scap/checks.yaml +++ b/scap/checks.yaml @@ -7,6 +7,11 @@ type: nrpe stage: restart_service command: check_endpoints_restbase + delay: + type: command + stage: restart_service + command: sleep 50 + timeout: 60 repool: type: command stage: restart_service -- To view, visit https://gerrit.wikimedia.org/r/403395 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I37a412a4b90a5c77bcba122b2b50bd9f373251df Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/restbase/deploy Gerrit-Branch: master Gerrit-Owner: Mobrovac <mobro...@wikimedia.org> Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits