# resetDfsRebalanceConcurrency {#resetDfsRebalanceConcurrency}

## Syntax {#syntax .section}

`resetDfsRebalanceConcurrency(newConcurrecyNum)`

## Arguments {#args .section}

**newConcurrecyNum** is a positive integer that specifies the maximum number of workers allocated for chunk rebalance.

## Details {#details .section}

Modify the number of workers used by the current node for chunk rebalance online. This function can only be executed by the administrator on the controller.

**Note:** This function modifies the configuration parameter *dfsRebalanceConcurrency* during the current session only. To permanently modify *dfsRebalanceConcurrency*, change it in the configuration file \(the default value is twice the number of all nodes except the agent\).

## Examples {#examples .section}

``` {#codeblock_bw4_pm5_x1c}
resetDfsRebalanceConcurrency(2)
```

Related functions: [getDfsRebalanceConcurrency](../g/getDfsRebalanceConcurrency.md)

**Parent topic:**[Functions](../../Functions/category.md)

