mvniekerk / tokio-cron-scheduler

Schedule tasks on Tokio using cron-like annotation
Apache License 2.0
519 stars 60 forks source link

fix(postgres): fix a typo in a `time_till_next_job` SQL query #78

Closed azasypkin closed 1 month ago

azasypkin commented 2 months ago

Summary

This PR fixes two small typos in the SQL query that powers time_till_next_job methods of the Postgres metadata store (missing space and wrong SQL parameter index).

azasypkin commented 1 month ago

Hey @mvniekerk,

Thanks for a great library! Is there any chance you could review this PR? I happen to use this API as a liveness K8s probe for my scheduling service.

mvniekerk commented 1 month ago

Hi @azasypkin Thank you for the PR. It has been merged!

azasypkin commented 1 month ago

Awesome, thank you @mvniekerk!