Skip to main content
# Kuyruk-Requeue

Save failed tasks to Redis and requeue them.

## Install

$ pip install kuyruk-requeue

## Usage

```python
from kuyruk import Kuyruk, Config
from kuyruk_requeue import Requeue

config = Config()
config.REDIS_HOST = "localhost"
config.REDIS_PORT = 6379
config.REDIS_DB = 0
config.REDIS_PASSWORD = None

kuyruk = kuyruk.Kuyruk(config)

Requeue(kuyruk)

@kuyruk.task
def oops():
1/0 # failed task will be saved to Redis
```

Run the command to requeue saved tasks:

$ kuyruk --app ... requeue

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Kuyruk-Requeue-1.2.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file Kuyruk-Requeue-1.2.1.tar.gz.

File metadata

File hashes

Hashes for Kuyruk-Requeue-1.2.1.tar.gz
Algorithm Hash digest
SHA256 1e08c17dafb230db0cba69eca25050d43523944a0bcb0f20c60c092a744c712c
MD5 7383bb833c0043c416faf3e995c4ca79
BLAKE2b-256 e57ad6b9e9661b38d75fcc71720db9ac3b8b8adfbddf35ea398d684dcfbda59a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 file

1.2.0

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page