Skip to content

cchacholiades/djdabortbug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Repo created to showcase bug with dramatiq abort.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published