Open HiHat opened 2 months ago
Thanks for the comment! I am aware of the problem and I am thinking about optimizing these functions - it is necessary to collect statistics in a cumulative way, instead of counting every time for everyone.
Sometimes it prevents node shutdown too...
Yes, the node cannot close until all active database connections are closed - this is necessary to preserve the integrity of the database.
Describe the bug 100% CPU utilization once a hour due to WebRepository::CollectAccountStatistic() processing which takes more than 5 minutes to complete.
To Reproduce Steps to reproduce the behavior:
Example statistics:
Desktop (please complete the following information):