Skip to content
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

add context to graceful shutdown #535

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from
Open

Conversation

hbl-ngocnd1
Copy link

@hbl-ngocnd1 hbl-ngocnd1 commented Oct 31, 2024

add context into execute job function to improve graceful shutdown

@hbl-ngocnd1 hbl-ngocnd1 force-pushed the v3 branch 2 times, most recently from 92b9c61 to afb6c63 Compare October 31, 2024 09:29
@khanhnvhblab
Copy link

It's work for me 👍

@manhnt2-hblab
Copy link

LGTM 👍

@flc1125
Copy link

flc1125 commented Nov 1, 2024

I made improvements based on this repository and released version 4.0.0, which supports context.Context.

Welcome to use. https://github.com/flc1125/go-cron


Currently, link tracing and distributed anti-duplicate execution are implemented using its context.Context.

These two functions are currently in my other warehouse. go-kratos-ecosystem/[email protected]/crontab/middleware

When it is used and maintained perfectly, I will move them into the flc1125/go-cron warehouse.

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.

4 participants