0.4.0
Notice of Breaking Change
The latest update introduces a breaking change due to the addition of a new updated column to the queue table with a NOT NULL constraint. Users will need to run the upgrade command to update their database schema accordingly. Please ensure you execute the following command after upgrading to avoid any disruptions.
python -m PgQueuer upgradeThis will trigger the below addition a column and creation of an index.
ALTER TABLE pgqueuer ADD COLUMN updated TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW();
CREATE INDEX pgqueuer_updated_id_id1_idx ON pgqueuer (updated ASC, id DESC) INCLUDE (id) WHERE status = 'picked';What's Changed
- Add not null constrant to created and updated by @janbjorge in #27
- Move listner get to outer loop by @janbjorge in #28
- Retry Timer for Job Dequeue by @janbjorge in #26
- Add readthedocs by @janbjorge in #29
Full Changelog: v0.3.6...0.4.0