reugn / go-quartz

Minimalist and zero-dependency scheduling library for Go
https://pkg.go.dev/github.com/reugn/go-quartz/quartz
MIT License
1.8k stars 85 forks source link

Schedule and immediately Get, Key not found, needs to wait for 10ms #23

Closed Valbonne closed 11 months ago

Valbonne commented 2 years ago

Can you please fix this bug?

reugn commented 2 years ago

The scheduler uses a channel to schedule the job, which causes the linger you've spotted. To solve the case the architecture might need to be revisited along with other scheduling-related issues.