saq 0.24.0__tar.gz → 0.24.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {saq-0.24.0/saq.egg-info → saq-0.24.3}/PKG-INFO +1 -1
  2. {saq-0.24.0 → saq-0.24.3}/saq/__init__.py +1 -1
  3. {saq-0.24.0 → saq-0.24.3}/saq/worker.py +2 -1
  4. {saq-0.24.0 → saq-0.24.3/saq.egg-info}/PKG-INFO +1 -1
  5. {saq-0.24.0 → saq-0.24.3}/LICENSE +0 -0
  6. {saq-0.24.0 → saq-0.24.3}/MANIFEST.in +0 -0
  7. {saq-0.24.0 → saq-0.24.3}/README.md +0 -0
  8. {saq-0.24.0 → saq-0.24.3}/saq/__main__.py +0 -0
  9. {saq-0.24.0 → saq-0.24.3}/saq/errors.py +0 -0
  10. {saq-0.24.0 → saq-0.24.3}/saq/job.py +0 -0
  11. {saq-0.24.0 → saq-0.24.3}/saq/multiplexer.py +0 -0
  12. {saq-0.24.0 → saq-0.24.3}/saq/py.typed +0 -0
  13. {saq-0.24.0 → saq-0.24.3}/saq/queue/__init__.py +0 -0
  14. {saq-0.24.0 → saq-0.24.3}/saq/queue/base.py +0 -0
  15. {saq-0.24.0 → saq-0.24.3}/saq/queue/http.py +0 -0
  16. {saq-0.24.0 → saq-0.24.3}/saq/queue/postgres.py +0 -0
  17. {saq-0.24.0 → saq-0.24.3}/saq/queue/postgres_migrations.py +0 -0
  18. {saq-0.24.0 → saq-0.24.3}/saq/queue/redis.py +0 -0
  19. {saq-0.24.0 → saq-0.24.3}/saq/types.py +0 -0
  20. {saq-0.24.0 → saq-0.24.3}/saq/utils.py +0 -0
  21. {saq-0.24.0 → saq-0.24.3}/saq/web/__init__.py +0 -0
  22. {saq-0.24.0 → saq-0.24.3}/saq/web/aiohttp.py +0 -0
  23. {saq-0.24.0 → saq-0.24.3}/saq/web/common.py +0 -0
  24. {saq-0.24.0 → saq-0.24.3}/saq/web/starlette.py +0 -0
  25. {saq-0.24.0 → saq-0.24.3}/saq/web/static/app.js +0 -0
  26. {saq-0.24.0 → saq-0.24.3}/saq/web/static/pico.min.css.gz +0 -0
  27. {saq-0.24.0 → saq-0.24.3}/saq/web/static/snabbdom.js.gz +0 -0
  28. {saq-0.24.0 → saq-0.24.3}/saq.egg-info/SOURCES.txt +0 -0
  29. {saq-0.24.0 → saq-0.24.3}/saq.egg-info/dependency_links.txt +0 -0
  30. {saq-0.24.0 → saq-0.24.3}/saq.egg-info/entry_points.txt +0 -0
  31. {saq-0.24.0 → saq-0.24.3}/saq.egg-info/requires.txt +0 -0
  32. {saq-0.24.0 → saq-0.24.3}/saq.egg-info/top_level.txt +0 -0
  33. {saq-0.24.0 → saq-0.24.3}/setup.cfg +0 -0
  34. {saq-0.24.0 → saq-0.24.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: saq
3
- Version: 0.24.0
3
+ Version: 0.24.3
4
4
  Summary: Distributed Python job queue with asyncio and redis
5
5
  Home-page: https://github.com/tobymao/saq
6
6
  Author: Toby Mao
@@ -14,4 +14,4 @@ __all__ = [
14
14
  "Worker",
15
15
  ]
16
16
 
17
- __version__ = "0.24.0"
17
+ __version__ = "0.24.3"
@@ -283,7 +283,8 @@ class Worker:
283
283
 
284
284
  if task and not task.done():
285
285
  task_data["aborted"] = "abort" if job.error is None else job.error
286
- await cancel_tasks([task])
286
+ # abort should be a blocking operation
287
+ await cancel_tasks([task], 0)
287
288
 
288
289
  await self.queue.finish_abort(job)
289
290
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: saq
3
- Version: 0.24.0
3
+ Version: 0.24.3
4
4
  Summary: Distributed Python job queue with asyncio and redis
5
5
  Home-page: https://github.com/tobymao/saq
6
6
  Author: Toby Mao
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes