Skip to content

jmgamboa/tiempo

 
 

Repository files navigation

tiempo

Twisted Task Scheduling for Django

Dev Setup

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:

./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'

About

Twisted Task Scheduling for Django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 60.2%
  • Python 39.8%