cd djdabortbug
source venv/bin/activate
pip install -r requirements.txt
cd testAbort
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
- On a new terminal window, repeat steps 1, 2 & 4 (source the project cd into project dir) and then
python manage.py rundramatiq
- Navigate to localhost:8000/admin
- Under TestModels app add a new record, hit save & continue editing.
- Hit save once again on the newly created record, each time you hit save a scheduled job is being created
- 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.
- The first job should be skipped, the second should execute => currently both execute.
-
Notifications
You must be signed in to change notification settings - Fork 0
cchacholiades/djdabortbug
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Repo created to showcase bug with dramatiq abort.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published