summaryrefslogblamecommitdiff
path: root/content/docs/configuration/concurrency.md
blob: 0e5e181bfcc88f6d988a7431fd35574ba2b1300b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                                                                      
---
title: 'Concurrency'
weight: 6
---

The concurrency setting controls the number of simultaneous requests that the scraper can make. This is specified in the configuration object of your scraping script.

```javascript
export const config = {
    // Specify the number of concurrent requests.
    concurrency: 5,
};
```

In the above example, the scraper will make up to 5 requests at the same time.

If the concurrency setting is not specified, there is no limit to the number of concurrent requests.