pattern: Use new attributes of Lister model from swh-scheduler
-
Store termination date to scheduler database at end of listing
It enables to track last lister execution date and will be used to schedule first visits with high priority for listed origins.
-
Add
first_visits_queue_prefix
parameter toLister
constructorIt enables to declare a lister whose first visits of listed origins must be scheduled with high priority.
Set this new parameter in
save-bulk
lister constructor to ensure high priority scheduling for first visits of origins
Depends on swh-scheduler!390 (merged).
Related to swh-scheduler#4687.