Skip to content

Commit

Permalink
fix(semaphore): outdated doc @default value for defaultSemaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingImer committed Mar 17, 2022
1 parent a179198 commit 12d36eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ public readonly defaultSemaphore: SemaphoreDefinition;
```

- *Type:* <a href="#cdk-concurrency-controller.SemaphoreDefinition">SemaphoreDefinition</a>
- *Default:* '{ name: "DefaultSemaphore", concurrencyLimit: 5 }'
- *Default:* '{ name: "DefaultSemaphore", concurrencyLimit: '5' }'

The default semaphore settings.

Expand Down
2 changes: 1 addition & 1 deletion src/semaphore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface DistributedSemaphoreProps {
*
* NOTE: the default semaphore name cannot use JsonPath expression for the sake of a safe fallback.
*
* @default '{ name: "DefaultSemaphore", concurrencyLimit: 5 }'
* @default '{ name: "DefaultSemaphore", concurrencyLimit: '5' }'
*/
readonly defaultSemaphore?: SemaphoreDefinition;

Expand Down

0 comments on commit 12d36eb

Please sign in to comment.