Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/integrations/prefect-dask/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ def my_flow():
future = show.submit(2) # high priority task
```

`priority` is a soft scheduling hint for queued work. It does not preempt tasks
that have already been assigned to a worker, so sequential `.submit()` calls may
still start in submission order even when later tasks have a higher priority.
Use `wait_for` or stage your submissions if you need strict ordering.

Another common use case is [resource](http://distributed.dask.org/en/stable/resources.html) annotations:

```python
Expand Down
Loading