Add keep_alive() call when an error occurs in fetch_next(), to prevent permanent failure when redis restarts #400
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
paths: | |
- "packages/apalis-redis/**" | |
- ".github/workflows/redis.yaml" | |
- "packages/apalis-core/**" | |
name: Redis CI | |
jobs: | |
test-redis: | |
name: Test Suite Redis | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: cargo test -- --test-threads=1 | |
working-directory: packages/apalis-redis | |
env: | |
REDIS_URL: redis://127.0.0.1/ |