Split the procrastinate_finish_job SQL function into two functions #332
Labels
Issue appropriate for: newcomers 🤩
This issue can be safely tackled by people who never worked in this project before
Issue contains: Some Python 🐍
This issue involves writing some Python code
Issue contains: Some SQL 🐘
This features require changing the SQL model
The
procrastinate_finish_job
SQL function looks like this currently:https://github.com/peopledoc/procrastinate/blob/f831565b00d67afa7a4291d734c8fe85074a360c/procrastinate/sql/schema.sql#L175-L185
scheduled_at
only makes sense for retries.So @ewjoachim and I suggest that we split this function into two functions:
And call the appropriate function from the worker code.
The text was updated successfully, but these errors were encountered: