procrastinate-org / procrastinate

PostgreSQL-based Task Queue for Python
https://procrastinate.readthedocs.io/
MIT License
840 stars 52 forks source link

Run sync task in its own thread #1160

Closed medihack closed 4 weeks ago

medihack commented 4 weeks ago

Closes #1124

Successful PR Checklist:

PR label(s):

As discussed in #1156, this may not be a breaking change but rather a fix for an issue, because synchronous tasks in concurrency mode currently don't run in parallel but consecutively.

github-actions[bot] commented 4 weeks ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  procrastinate
  utils.py
Project Total  

This report was generated by python-coverage-comment-action

ewjoachim commented 4 weeks ago

(you can change the base of a PR, you don't have to recreate one. Use the "Edit" button to the right of the title)

Screenshot 2024-08-15 at 17 06 20