Browse Source

adjust weight

pull/8360/head
Chris Lu 3 days ago
parent
commit
cf3b7b3ad7
  1. 1
      weed/plugin/worker/erasure_coding_handler.go
  2. 1
      weed/plugin/worker/vacuum_handler.go
  3. 1
      weed/plugin/worker/volume_balance_handler.go

1
weed/plugin/worker/erasure_coding_handler.go

@ -42,6 +42,7 @@ func (h *ErasureCodingHandler) Capability() *plugin_pb.JobTypeCapability {
MaxExecutionConcurrency: 1,
DisplayName: "EC Encoding",
Description: "Converts full and quiet volumes into EC shards",
Weight: 80,
}
}

1
weed/plugin/worker/vacuum_handler.go

@ -55,6 +55,7 @@ func (h *VacuumHandler) Capability() *plugin_pb.JobTypeCapability {
MaxExecutionConcurrency: maxExec,
DisplayName: "Volume Vacuum",
Description: "Reclaims disk space by removing deleted files from volumes",
Weight: 60,
}
}

1
weed/plugin/worker/volume_balance_handler.go

@ -44,6 +44,7 @@ func (h *VolumeBalanceHandler) Capability() *plugin_pb.JobTypeCapability {
MaxExecutionConcurrency: 1,
DisplayName: "Volume Balance",
Description: "Moves volumes between servers to reduce skew in volume distribution",
Weight: 50,
}
}

Loading…
Cancel
Save