Twisted task scheduling for django
Project description
# tiempo
Twisted Task Scheduling for Django
## Dev Setup
```bash
virtualenv tiempo --no-site-packages --distributed
source tiempo/bin/activate
pip install -e <path to your tiempo repo>
```
Then to test this shit out just run:
```bash
./tiempo/scripts/metronome
```
#### To use with Django/Hendrix
* in settings.py
* `TIEMPO_THREAD_CONFIG = [('prioirty1'), ('priority1, 'downstairs', 'upstairs')]`
* each entry in the list specifies which queues that thread should check for work
* the above example will have two both checking "priority1" and "downstairs" and "upstairs" on only one process
* 'INSTALLED_APPS' += 'tiempo.contrib.django'
Twisted Task Scheduling for Django
## Dev Setup
```bash
virtualenv tiempo --no-site-packages --distributed
source tiempo/bin/activate
pip install -e <path to your tiempo repo>
```
Then to test this shit out just run:
```bash
./tiempo/scripts/metronome
```
#### To use with Django/Hendrix
* in settings.py
* `TIEMPO_THREAD_CONFIG = [('prioirty1'), ('priority1, 'downstairs', 'upstairs')]`
* each entry in the list specifies which queues that thread should check for work
* the above example will have two both checking "priority1" and "downstairs" and "upstairs" on only one process
* 'INSTALLED_APPS' += 'tiempo.contrib.django'
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
tiempo-1.2.0.tar.gz
(27.2 kB
view details)
File details
Details for the file tiempo-1.2.0.tar.gz
.
File metadata
- Download URL: tiempo-1.2.0.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1446d420a16cba13971d8e21c1eb8aef27970993f2dc6e2ef49b85c4ed371fbb |
|
MD5 | 36ce3f63a05bb3448cf9daafe130d30a |
|
BLAKE2b-256 | 82175f5f11d4851625bf5c32e6f27904f46ef36b633c7b26de9535183d5b520e |