# getRecoveryWorkerNum {#getrecoveryworkernum}

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

## Syntax {#syntax}

`getRecoveryWorkerNum()`

## Arguments {#arguments}

None

## Details {#details}

Get the number of worker threads used by the current node for chunk recovery. It can only be executed on the data node.

## Examples {#examples}

```
resetRecoveryWorkerNum(2)
getRecoveryWorkerNum()
// output: 2
```

Related functions: [resetRecoveryWorkerNum](../r/resetRecoveryWorkerNum.md)

