Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 810 Bytes

readme.md

File metadata and controls

17 lines (15 loc) · 810 Bytes

Steps to reproduce


  1. cd djdabortbug
  2. source venv/bin/activate
  3. pip install -r requirements.txt
  4. cd testAbort
  5. python manage.py migrate
  6. python manage.py createsuperuser
  7. python manage.py runserver
  8. On a new terminal window, repeat steps 1, 2 & 4 (source the project cd into project dir) and then python manage.py rundramatiq
  9. Navigate to localhost:8000/admin
  10. Under TestModels app add a new record, hit save & continue editing.
  11. Hit save once again on the newly created record, each time you hit save a scheduled job is being created
  12. Go to Dramatiq tasks admin, you'll see the scheduled jobs. These are scheduled to be executed 271000 ms from the time you hit save.
  13. The first job should be skipped, the second should execute => currently both execute.