-
- Downloads
model: Add new columns to Lister model related to priority scheduling
In order to implement a new scheduler runner that will schedule first visits of listed origins with high priority, add the following new columns to the Lister model: - last_listing_finished_at: Timestamp at which the last execution of the lister finished - first_visits_queue_prefix: Optional prefix of message queue names to schedule first visits with high priority - first_visits_scheduled_at: Timestamp at which all the first visits of listed origins with high priority were scheduled Related to #4687.
Showing
- swh/scheduler/backend.py 15 additions, 3 deletionsswh/scheduler/backend.py
- swh/scheduler/interface.py 4 additions, 1 deletionswh/scheduler/interface.py
- swh/scheduler/model.py 13 additions, 0 deletionsswh/scheduler/model.py
- swh/scheduler/sql/30-schema.sql 7 additions, 1 deletionswh/scheduler/sql/30-schema.sql
- swh/scheduler/sql/upgrades/38.sql 9 additions, 0 deletionsswh/scheduler/sql/upgrades/38.sql
- swh/scheduler/tests/test_scheduler.py 17 additions, 2 deletionsswh/scheduler/tests/test_scheduler.py
Loading
Please register or sign in to comment