-
-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
When starting a worker using the CLI with hot reload enabled:
taskiq worker my_app.broker:broker -rIt's noted in the docs that hot reload should take into account .gitignore:
Also this option supports .gitignore files. If you have such file in your directory, it won't reload worker when you modify ignored files.
I'm using sqlite3 in development, and it's in my .gitignore here:
# SQLite database
*.sqlite3
However, when I make changes to the database, it causes the worker to reload.
Here's my dependency tree relevant to the issue:
taskiq-redis==0.3.0
redis==4.4.2
async-timeout==4.0.2
taskiq==0.4.0
importlib-metadata==6.4.1
zipp==3.15.0
pycron==3.0.0
pydantic==1.10.7
typing_extensions==4.4.0
taskiq-dependencies==1.1.2
typing_extensions==4.4.0
I'm on Ubuntu 22.04 and this is a Django project that I'm working in.
Let me know if I'm doing something wrong or if this is a bug.
Edit: Wanted to add - generally, I've had a good experience with TaskIQ, and I appreciate the hard work on the project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels