FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Install a SIGTERM handler in addition to SIGINT by prandla · Pull Request #1246 · cms-dev/cms · GitHub

/ cms Public

Install a SIGTERM handler in addition to SIGINT - #1246

Merged
wil93 merged 1 commit into
cms-dev:masterfrom
e-i-o:bugfix/sigterm-handler
Jan 18, 2024
Merged

Install a SIGTERM handler in addition to SIGINT#1246
wil93 merged 1 commit into
cms-dev:masterfrom
e-i-o:bugfix/sigterm-handler

Conversation

prandla commented Nov 19, 2023

Copy link
Copy Markdown
Member

This allows cleanly terminating CMS by sending it SIGTERM, which is what e.g. Docker or systemd do.

I ran into this while using docker-compose, which when asked to stop a container will send it SIGTERM, then wait 10 seconds, and then send SIGKILL. I think terminating CMS via SIGKILL isn't particuarly nice (and also I don't like waiting 10 seconds every time I want to restart a container).

This allows cleanly terminating CMS by sending it SIGTERM, which is what
e.g. Docker or systemd do.

codecov Bot commented Nov 19, 2023

Copy link
Copy Markdown

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (7db9aa1) 69.45% compared to head (56942dd) 69.45%.

Files Patch % Lines
cmsranking/RankingWebServer.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1246      +/-   ##
==========================================
- Coverage   69.45%   69.45%   -0.01%     
==========================================
  Files         328      328              
  Lines       26196    26201       +5     
==========================================
+ Hits        18195    18198       +3     
- Misses       8001     8003       +2     
Flag Coverage Δ
functionaltests 47.06% <80.00%> (-0.15%) ⬇️
unittests 56.75% <20.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

wil93 merged commit c88c1e9 into cms-dev:master Jan 18, 2024
prandla deleted the bugfix/sigterm-handler branch September 28, 2024 19:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL