mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-05 08:45:27 +00:00
184af027dc
* Sync scheduler provides an independent `ticker` loop process why: Can be used to update `metrics` and for debug logging. While an event driven solution would stall if there are no events at the moment (e.g. when the syncer hibernates, the `ticker` will run regardless. * Use `runTicker()` loop interface alike for updating ticker why: Not event driven anymore so it will not stall when the syncer hibernates. * Re-implement logging ticker by running it within the `runTicker()` driver why: Simplifies implementation * Re-name metrics variable to better fit into the current naming schemes * Fix copyright header