+
Skip to content

Add graceful shutdown macro #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 9, 2025
Merged

Add graceful shutdown macro #30

merged 2 commits into from
Apr 9, 2025

Conversation

egs33
Copy link
Member

@egs33 egs33 commented Apr 8, 2025

Add with-graceful-shutdown macro, which facilitates the execution of a block of code with a mechanism to handle graceful shutdowns, such as when a SIGTERM signal is received (s.g. docker cli, AWS ECS ...). This is particularly useful for applications that need to clean up resources or perform specific actions before shutting down.

@egs33 egs33 requested a review from Copilot April 8, 2025 08:42
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • src/toyokumo/commons/graceful_shutdown.clj: Language not supported

@egs33 egs33 requested a review from liquidz April 8, 2025 08:50
@egs33 egs33 marked this pull request as ready for review April 8, 2025 08:50
Copy link
Contributor

@liquidz liquidz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@egs33 Looks good to me :)

@egs33 egs33 merged commit 71f554b into main Apr 9, 2025
1 check passed
@egs33 egs33 deleted the add-graceful-shutdown-macro branch April 9, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载