Skip to content

Commit

Permalink
chore(release): 1.10.0 [skip ci]
Browse files Browse the repository at this point in the history
## [1.10.0](v1.9.2...v1.10.0) (2025-01-02)

### 🚀 Features

* max queue size for pool ([2987196](2987196))
  • Loading branch information
semantic-release-bot committed Jan 2, 2025
1 parent 2987196 commit f359dd0
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.10.0](https://github.com/SkeLLLa/pinot-noir/compare/v1.9.2...v1.10.0) (2025-01-02)

### 🚀 Features

* max queue size for pool ([2987196](https://github.com/SkeLLLa/pinot-noir/commit/2987196dcad7b865f19b7106cb3463291c125211))

## [1.9.2](https://github.com/SkeLLLa/pinot-noir/compare/v1.9.1...v1.9.2) (2025-01-02)

### 🛠 Fixes
Expand Down
13 changes: 13 additions & 0 deletions docs/api/pinot-noir.ebrokertransporterrorcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ Invalid response from pinot
</td></tr>
<tr><td>

LIMIT_EXCEEDED

</td><td>

`3`

</td><td>

Limit exceded

</td></tr>
<tr><td>

TIMEOUT

</td><td>
Expand Down
13 changes: 13 additions & 0 deletions docs/api/pinot-noir.ibrokertransportconfig.maxqueuesize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [IBrokerTransportConfig](./pinot-noir.ibrokertransportconfig.md) &gt; [maxQueueSize](./pinot-noir.ibrokertransportconfig.maxqueuesize.md)

## IBrokerTransportConfig.maxQueueSize property

Max pool queue size. If undefined or 0, queue is infinite. If a request comes and queue is already at maximum size it will be discarded with LIMIT_EXCEEDED error.

**Signature:**

```typescript
maxQueueSize?: number;
```
15 changes: 15 additions & 0 deletions docs/api/pinot-noir.ibrokertransportconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,21 @@ _(Optional)_ Connection keep-alive timeout
</td></tr>
<tr><td>

[maxQueueSize?](./pinot-noir.ibrokertransportconfig.maxqueuesize.md)

</td><td>

</td><td>

number

</td><td>

_(Optional)_ Max pool queue size. If undefined or 0, queue is infinite. If a request comes and queue is already at maximum size it will be discarded with LIMIT_EXCEEDED error.

</td></tr>
<tr><td>

[token](./pinot-noir.ibrokertransportconfig.token.md)

</td><td>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/pinot-noir.pinotbrokerjsontransport._constructor_.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Constructs a new instance of the `PinotBrokerJSONTransport` class
**Signature:**

```typescript
constructor({ bodyTimeout, brokerUrl, connections, headersTimeout, keepAliveMaxTimeout, token, }: IBrokerTransportConfig);
constructor({ bodyTimeout, brokerUrl, connections, headersTimeout, keepAliveMaxTimeout, token, maxQueueSize, }: IBrokerTransportConfig);
```

## Parameters
Expand All @@ -29,7 +29,7 @@ Description
</th></tr></thead>
<tbody><tr><td>

{ bodyTimeout, brokerUrl, connections, headersTimeout, keepAliveMaxTimeout, token, }
{ bodyTimeout, brokerUrl, connections, headersTimeout, keepAliveMaxTimeout, token, maxQueueSize, }

</td><td>

Expand Down
11 changes: 11 additions & 0 deletions docs/api/pinot-noir.pinotbrokerjsontransport.maxqueuesize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [PinotBrokerJSONTransport](./pinot-noir.pinotbrokerjsontransport.md) &gt; [maxQueueSize](./pinot-noir.pinotbrokerjsontransport.maxqueuesize.md)

## PinotBrokerJSONTransport.maxQueueSize property

**Signature:**

```typescript
protected readonly maxQueueSize: number | undefined;
```
19 changes: 18 additions & 1 deletion docs/api/pinot-noir.pinotbrokerjsontransport.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Description
</th></tr></thead>
<tbody><tr><td>
[(constructor)({ bodyTimeout, brokerUrl, connections, headersTimeout, keepAliveMaxTimeout, token, })](./pinot-noir.pinotbrokerjsontransport._constructor_.md)
[(constructor)({ bodyTimeout, brokerUrl, connections, headersTimeout, keepAliveMaxTimeout, token, maxQueueSize, })](./pinot-noir.pinotbrokerjsontransport._constructor_.md)
</td><td>
Expand Down Expand Up @@ -63,6 +63,23 @@ Description
</th></tr></thead>
<tbody><tr><td>
[maxQueueSize](./pinot-noir.pinotbrokerjsontransport.maxqueuesize.md)
</td><td>
`protected`
`readonly`
</td><td>
number \| undefined
</td><td>
</td></tr>
<tr><td>
[pool](./pinot-noir.pinotbrokerjsontransport.pool.md)
</td><td>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/package.json",
"name": "pinot-noir",
"version": "1.9.2",
"version": "1.10.0",
"description": "Unofficial client for Apache Pinot.",
"keywords": [
"pinot",
Expand Down

0 comments on commit f359dd0

Please sign in to comment.