mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-13 01:05:48 +00:00
fix: adjust task priorities
This commit is contained in:
@@ -131,8 +131,7 @@ func (r *RepoOrchestrator) Backup(ctx context.Context, plan *v1.Plan, progressCa
|
||||
opts = append(opts, restic.WithFlags(
|
||||
"--exclude-caches",
|
||||
"--tag", TagForPlan(plan.Id),
|
||||
"--tag", TagForInstance(r.config.Instance),
|
||||
"--host", r.config.Instance),
|
||||
"--tag", TagForInstance(r.config.Instance)),
|
||||
)
|
||||
|
||||
for _, exclude := range plan.Excludes {
|
||||
|
||||
@@ -19,8 +19,8 @@ const (
|
||||
TaskPriorityStats = -1
|
||||
TaskPriorityDefault = 0
|
||||
TaskPriorityInteractive = 1 << 1
|
||||
TaskPriorityIndexSnapshots = 1 << 2
|
||||
TaskPriorityForget = 1 << 3
|
||||
TaskPriorityForget = 1 << 2
|
||||
TaskPriorityIndexSnapshots = 1 << 3
|
||||
TaskPriorityPrune = 1 << 4
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user