Skip to content

Commit

Permalink
docs: mention prefetch (#5220)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Sep 28, 2022
1 parent 45c7c6e commit ad37bdd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/fundamentals/gateway/index.md
Expand Up @@ -470,7 +470,7 @@ When working with very slow executors and a big amount of data, you must set `pr
```python
from jina import Flow
f = Flow(protocol='http', cors=True)
f = Flow(protocol='http', cors=True, prefetch=10)
```
````

Expand All @@ -479,7 +479,8 @@ f = Flow(protocol='http', cors=True)
jtype: Flow
with:
protocol: 'http'
cors: True,
cors: True,
prefetch: 10
```
````

Expand Down

0 comments on commit ad37bdd

Please sign in to comment.