autonomys / substation

Polkadot Telemetry service
GNU General Public License v3.0
3 stars 2 forks source link

Sort nodes only when receive new best block #11

Closed isSerge closed 2 years ago

isSerge commented 2 years ago

Originally we discussed completely removing sorting, but I thought maybe we can just sort less - in this case, nodes are sorted only when there is a new block. That was enough to improve performance for @dnieh and me. We can still consider removing sorting completely if users have issues in the future.

Closes #5