You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
is the plan to continue use rq and be compatible with django-rq ?
also currently this seems to hit db every time reschedule in worker, which is great for consistency. However, given the fact that, for most apps, db are usually slower and busier than redis, would you consider further improvement or alternative to reduce the use of db (maybe only when worker initializing and user add/update/remove jobs)?
The text was updated successfully, but these errors were encountered:
is the plan to continue use rq and be compatible with django-rq ?
in django-tasks-scheduler, rq dependency will be removed completely - eventually!
You can use django-rq + rq, but django-tasks-scheduler won't share the same queues and the jobs of django-rq won't be listed in django-tasks-scheduler.
also currently this seems to hit db every time reschedule in worker, which is great for consistency. However, given the fact that, for most apps, db are usually slower and busier than redis, would you consider further improvement or alternative to reduce the use of db (maybe only when worker initializing and user add/update/remove jobs)?
That's a good point and one of the reasons to separate from RQ.
Having scheduler as part of workers, I can't distinguish between "schedule from DB" and "schedule from queue".
There is a workaround for it which I can implement:
Create a setting variable (SCHEDULER_DB_INTERVAL)
Set up a variable in the scheduler key in redis for last DB sync
Run the DB sync based on the interval and last DB sync.
If you think this is valid, please open an issue in the django-tasks-scheduler for it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey, I ran into this nice project when researching alternative of run django scripts in cron, a few questions:
rq
and be compatible withdjango-rq
?The text was updated successfully, but these errors were encountered: