Log Filter performance too slow in 2mi blocks chain

Description

(from Rocket.Chat)

Hi everyone, I am trying to filter events from Besu(v.1.2.4) in a private chain which currently have 2 200 000 blocks; the problem is the response time is TOO LONG; that is, to make a search on those blocks the response time is aproximately 369 seconds, I have made other test where I confirmed it approximately takes 1 second per 5000 blocks. I am using web3@0.20.6. Please can you suggest how can I deal with this issue? Thanks!

_Here is part of the code I am using: _

Environment

None

Assignee

Unassigned

Reporter

Lucas Corte Real Saldanha

Labels

None

Refinement State

Not Started

Affects versions

Priority

P3
Configure