Skip to content

Commit b9e3cc1

Browse files
committed
fix v4 releaseConcurrency docs for wait.for
1 parent 5bca4ad commit b9e3cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/upgrade-to-v4.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ You can also now control whether concurrency is released when performing a wait:
761761

762762
```ts
763763
// This will prevent the run from being released back into the queue when the wait starts
764-
await wait.for({ seconds: 10 }, { releaseConcurrency: false });
764+
await wait.for({ seconds: 10, releaseConcurrency: false });
765765
```
766766

767767
The new default behavior allows you to ensure that you can control the number of executing & waiting runs on a queue, and guarantee runs will resume once they are meant to be resumed.

0 commit comments

Comments
 (0)