Skip to content
Snippets Groups Projects
Commit 7920dfdb authored by Antoine Lambert's avatar Antoine Lambert
Browse files

docker/conf/scheduler: Update scheduling policies

Remove overridden scheduling policies for opam origins as default ones
have been updated in swh-scheduler source code.

Override scheduling policies for git origins by using the default ones
without table sampling as listed_origins table in scheduler database
has usually a small size in docker environment and thus a low sampling
value does not return any origins when querying the table.
parent df358713
No related branches found
No related tags found
1 merge request!271docker/conf/scheduler: Update scheduling policies
......@@ -7,8 +7,13 @@ celery:
broker_transport_options:
max_retries: 1
no_origins_scheduled_backoff: 60
# ensure opam origin loading tasks will be scheduled
scheduling_policy:
opam:
git:
# override git origin scheduling policies, same as default ones
# but without table sampling
- policy: already_visited_order_by_lag
weight: 49
- policy: never_visited_oldest_update_first
weight: 49
- policy: origins_without_last_update
weight: 100
weight: 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment