v4.0.0b1 🌈
Pre-release
Pre-release
·
161 commits
to master
since this release
v4.0.0b1 🌈
Breaking Changes
This version is a full revamp of the package. The main changes are related to removing the RQ dependency.
Worker/Queue/Job are all implemented in the package itself. This change allows for more flexibility and control over
the tasks.
Management commands:
rqstats=>scheduler_statsrqworker=>scheduler_worker
Settings:
SCHEDULER_CONFIGis now aSchedulerConfigurationobject to help IDE guide settings.SCHEDULER_QUEUESis now a list ofQueueConfigurationobjects to help IDE guide settings.- Configuring queue to use
SSL/SSL_CERT_REQS/SOCKET_TIMEOUTis now done usingCONNECTION_KWARGSin
QueueConfigurationSCHEDULER_QUEUES: Dict[str, QueueConfiguration] = { 'default': QueueConfiguration( HOST='localhost', PORT=6379, USERNAME='some-user', PASSWORD='some-password', CONNECTION_KWARGS={ # Eventual additional Broker connection arguments 'ssl_cert_reqs': 'required', 'ssl':True, }, ), # ... }
- For how to configure in
settings.py, please see the settings documentation.