Skip to main content
Help us improve Python packaging – donate today!

Save failed tasks to Redis and requeue them.

Project Description

# 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

Release history Release notifications

This version
History Node

1.2.1

History Node

1.2.0

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Kuyruk-Requeue-1.2.1.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None Apr 28, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page