Skip to content

add context to graceful shutdown#535

Open
hbl-ngocnd1 wants to merge 1 commit intorobfig:v3from
hbl-ngocnd1:v3
Open

add context to graceful shutdown#535
hbl-ngocnd1 wants to merge 1 commit intorobfig:v3from
hbl-ngocnd1:v3

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 👍

@hblab-manhnt2
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/components@2.x/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