Skip to content

Commit

Permalink
docs: document prefetch (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Nov 26, 2024
1 parent fb58381 commit 4b6adee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/datachain/lib/dc.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ def settings(
enable all available CPUs (default=1)
workers : number of distributed workers. Only for Studio mode. (default=1)
min_task_size : minimum number of tasks (default=1)
prefetch: number of workers to use for downloading files in advance.
This is enabled by default and uses 2 workers.
To disable prefetching, set it to 0.
Example:
```py
Expand Down

0 comments on commit 4b6adee

Please sign in to comment.