Django redis Push Pull models and management commands
Project description
Installation
$ pip install django-command-queue
settings.py
INSTALLED_APPS+=['django_command_queue']
migrate
$ python manage.py migrate
Features
- mutiple workers
- custom settings
- worker status
- command calls log
- exceptions logging
Models
model | db_table | fields/columns |
---|---|---|
Queue |
django |
id ,worker ,name |
Worker |
redis_push |
id ,worker ,restart_interval ,sleep_interval |
WorkerException |
redis_push |
id ,worker ,exc_class ,exc_message ,exc_traceback ,created_at |
WorkerStatus |
redis_push |
id ,worker_id ,started_at ,updated_at |
Management commands
name | description |
---|---|
command_queue_worker |
queue worker |
Examples
$ python manage.py command_queue_worker "name"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django_command_queue-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d654eee7df9d6b7ae41c4a834ca6552d95673b98a89f7a7f182a099893c4d25 |
|
MD5 | 664b1d783802caa5d631e85653b225f6 |
|
BLAKE2b-256 | 41153180355291eb9792655d3d9a3385cf9840a960bde2b0c3d207710f22d948 |