Skip to content

Commit

Permalink
ir: increase fschain pool size
Browse files Browse the repository at this point in the history
Similar to 19c72bf, but for IR.

We've got

    neofs-ir[1394797]: warn        event/listener.go:248        listener worker pool drained        {"chain": "fschain", "capacity": 10}

in testnet.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Dec 24, 2024
1 parent 3a10bc1 commit 46e4e1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Changelog for NeoFS Node
### Fixed

### Changed
- Number of cuncurrenly handled notifications from the chain was increased from 10 to 300 for IR (#3068)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion pkg/innerring/innerring.go
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ func createListener(cli *client.Client, p chainParams) (event.Listener, error) {
// the client cannot make RPC requests if
// the notification channel is not being
// read by another goroutine.
const listenerPoolCap = 10
const listenerPoolCap = 300

Check warning on line 1070 in pkg/innerring/innerring.go

View check run for this annotation

Codecov / codecov/patch

pkg/innerring/innerring.go#L1070

Added line #L1070 was not covered by tests

listener, err := event.NewListener(event.ListenerParams{
Logger: p.log.With(zap.String("chain", p.name)),
Expand Down

0 comments on commit 46e4e1f

Please sign in to comment.