Skip to content

fix(postgres): cap in-flight messages at prefetch like RabbitMQ QoS #1588

fix(postgres): cap in-flight messages at prefetch like RabbitMQ QoS

fix(postgres): cap in-flight messages at prefetch like RabbitMQ QoS #1588

Workflow file for this run

name: Python Test
on:
push:
branches: [master]
paths:
- "**/*.py"
- ".github/workflows/*.yml"
pull_request:
paths:
- "**/*.py"
- ".github/workflows/*.yml"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13", "3.14"]
services:
redis:
image: redis:7
ports:
- 6481:6379
rabbitmq:
image: rabbitmq:4.1
ports:
- 5784:5672
postgres:
image: ghcr.io/pgmq/pg18-pgmq:v1.10.0
ports:
- 5544:5432
env:
POSTGRES_USER: remoulade
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: test
steps:
- uses: actions/checkout@v5
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
- name: Install dependencies
run: uv pip install -e '.[dev]'
- name: Test
run: pytest --benchmark-skip