"""Postgres queue adapter — ``LISTEN ix_jobs_new`` + 10 s fallback poll. This is a secondary transport: a direct-SQL writer can insert a row and ``NOTIFY ix_jobs_new, ''`` and the worker wakes up within the roundtrip time rather than the 10 s fallback poll. The REST adapter doesn't need the listener because the worker is already running in-process; this exists for external callers who bypass the REST API. """ from ix.adapters.pg_queue.listener import ( PgQueueListener, asyncpg_dsn_from_sqlalchemy_url, ) __all__ = ["PgQueueListener", "asyncpg_dsn_from_sqlalchemy_url"]