mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
bc97dfed04
Changelog: ============ - Ensure we use a safe name for long postgres queue names. PG has a 63 byte limit on the channel name. - Ensure recycled worker threads no longer leak their LISTEN connections w/Postgres. - Add first-class Postgres support: PostgresHuey. Workers use LISTEN/NOTIFY when a task is enqueued, giving Redis-like dequeue latency without polling, and dequeues use select ... for update skip locked so any number of consumers can share one database (requires psycopg 3.2+). - The django.tasks backend is now also compatible with the django-tasks backport package, extending support to pre-6.0 Django. - Use an explicit fork multiprocessing context for process workers, rather than setting the global start-method from the consumer entry-points. Fixes -k process on MacOS 3.8+ / Linux 3.14+ when the consumer is started via the huey_consumer console-script or a programmatic create_consumer().run(). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
19 lines
420 B
BlitzBasic
19 lines
420 B
BlitzBasic
SUMMARY = "a little task queue for python"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4"
|
|
|
|
PYPI_PACKAGE = "huey"
|
|
|
|
SRC_URI[sha256sum] = "156f30e90f0fae81ae2e004f2062e1b18ec9dcbc684564df63159ef546b13502"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-datetime \
|
|
python3-logging \
|
|
python3-multiprocessing \
|
|
python3-json \
|
|
"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|